]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
b66864d9b07be8ca90a04b1f26c8dab373a61558
[lyx.git] / src / ChangeLog
1 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * cursor.C (goUpDown): remove call to idxUpDown2
4
5 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
6
7         * tabular.[Ch]: use size_t-like types for cell, row and column
8         indices
9
10 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11
12         * lyxfunc.C (getStatus): do not lose previous information when
13         calling BufferView::getStatus; do not set a default "Command
14         disabled" message at the beginning, but just before returning.
15
16 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
17
18         * cursor.h (getStatus): add better comment from src/cursor.C
19
20 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
21
22         * text3.C (getStatus): return false when the lfun is not handled
23
24 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
25
26         * broken_headers.h: remove
27
28         * Makefile.am (lyx_SOURCES): remove broken_headers.h
29
30 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
31
32         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
33         offset_ref accessors
34
35         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
36         top_y_, merge fitcursor with update
37         (updateScrollbar, scrollDocView, fitCursor, center, update): new
38         coord scheme
39         (metrics): introduce
40         (workAreaDispatch): adapt to new coord scheme
41         (redoCurrentBuffer): remove
42
43         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
44
45         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
46         CurStatus enum.
47
48         * coordcache.[Ch]: add paragraph cache and helpers
49
50         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
51         adjust everywhere
52
53         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
54         (targetX, setTargetX): introduce
55
56         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
57         baseline -> ascent, as the rest of lyx
58
59         * lyxtext.h: remove redoParagraphs, updateParPositions,
60         fullRebreak, redoParagraphInternal. move dist to anon namespace in
61         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
62         have ascent/descent (ascent is ascent of first par)
63
64         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
65         step of BufferView
66
67         * paragraph.[Ch]: unify dimension handling with the rest of lyx
68
69         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
70
71         * pariterator.C: fix infinite loop introduced in par->pit renaming
72
73         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
74         in insets and LyXText, draw two off-screen paragraphs using
75         NullPainter, and adapt to new coord scheme
76
77         * text.C:
78         * text2.C:
79         * text3.C: adapt lfun handlers to the new coord scheme, which
80         means: there's only guaranteed coord information for onscreen pars
81         plus one above and one below. This implies that one can do search
82         from y coordinates in the range [-1,workHeight]
83
84 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
85
86         * rename a lot of InsetOld to InsetBase
87
88 2004-11-25  Angus Leeming  <leeming@lyx.org>
89
90         * BufferView_pimpl.C:
91         * lyx_cb.C:
92         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
93
94 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
95
96         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
97         call BufferView::getStatus if LCursor::getStatus did nothing
98         (setStatusMessage, getStatusMessage): removed.
99
100         * FuncStatus.C (message): new methods. Used to provide an error
101         message indicating why a command is disabled.
102         (clear, |=, FuncStatus): update for message.
103
104 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
105
106         * lyxfunc.C (dispatch): always call sendDispatchMessage
107
108 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
109
110         * BufferView.C:
111         * BufferView_pimpl.C:
112         * CutAndPaste.C:
113         * FontIterator.C:
114         * buffer.C:
115         * cursor.C:
116         * cursor_slice.[Ch]:
117         * dociterator.[Ch]:
118         * lyxfind.C:
119         * paragraph_funcs.C:
120         * pariterator.C:
121         * rowpainter.C:
122         * text.C:
123         * text2.C:
124         * text3.C:
125         * undo.C: par->pit renaming
126
127 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
128
129         * tabular.C (cellstruct): use initialization, store a shared_ptr
130         to insettext instead of the insettext directly, adjust to fit.
131         (operator=):  new function
132         (swap): new function
133         (rowstruct): use initialization
134         (columnstruct): use initialization
135         (ltType): use initialization
136
137
138         * lyxlength.h (swap): new function
139
140         * LColor.[Ch] (operator=): use the common semantics
141
142 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
143
144         * lyxfind.C (findNextChange): update the bufferview after setting
145         the selection.
146
147 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
148
149         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
150         number of InsetOptArgs has already been inserted.
151
152         * output_latex.C (latexOptArgInsets): new method. This outputs all
153         the optarg insets, up to the limit defined in the layout file.
154         (optArgInset): removed
155         (TeXOnePar): call latexOptArgInsets; correctly update texrow
156
157 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
158
159         * paragraph.C (isLetter): remove special spellchecker-related
160         code; return true also for digits
161         (isWord, isKomma): remove
162
163         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
164         * lyxfind.C (MatchString()): use isLetter instead of isWord
165
166 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
167
168         * pariterator.h (operatir=): comment out un-implemented member
169         function.
170
171         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
172         static cast.
173
174 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
175
176         * lyxfont.h: include LColor.h to satisfy concept checks.
177
178 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
179
180         * pariterator.h: add typdefs for value_type, difference_type,
181         pointer and reference to satisfy concept checks. Also add default
182         constructor for same reason.
183
184         * pariterator.C (operator++): add post-increment operator to
185         satisfy concept checks.
186
187         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
188         checks.
189
190         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
191
192         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
193         checks. Also rename base_type to BaseType to follow naming
194         standard better.
195
196         * FloatList.h: include Floating.h to satisfy concept checks.
197
198 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
199
200         * lyxfunc.C (getStatus): when the origin of the request is menu or
201         toolbar, and the LyXView does not have focus, do as if there was
202         no buffer (bug 1720)
203
204         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
205         FuncRequest to individual entries of LFUN_SEQUENCE
206
207 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
208
209         * output_latex.C (TeXOnePar): override runparams.moving_arg
210         according to the needprotect value of the current paragraph (bug
211         1739)
212
213         * paragraph.C (simpleTeXOnePar): no need to override
214         runparams.moving_args here
215
216 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
217
218         * vspace.C: fix off-by-one-error, related to fix #1682
219
220 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
221
222         * lengthcommon.C: a more general fix for bug 1682
223
224 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
225
226         * text.C (backspace): fix crash
227
228 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
229
230         * format.[Ch] (getFormatFromFile): new method
231         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
232
233 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
234
235         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
236
237 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
238
239         * lyxfunc.C (dispatch): remove the verbose argument
240         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
241         instead
242
243         * kbmap.C (defkey): set the origin of func to KEYBOARD
244
245         * MenuBackend.C (MenuItem):
246         * ToolbarBackend.C (add): set the origin of func to UI
247
248         * funcrequest.[Ch]: add origin member, which indicates which part
249         of LyX requests an action
250
251 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
252
253         * converter.C (move): don't lie in the error message
254         * converter.h (isReachable, move): document
255
256 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
257
258         * buffer.C: remove unused using lyx::support::atoi
259         * paragraph_funcs.C: ditto
260
261 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
262
263         * bufferlist.C (exists): use bind and equal_to instead of
264         compare_memfun
265         (getBuffer): ditto
266         * lyxtextclasslist.C (NumberOfClass): ditto
267
268         * cursor.C (insert): use for_each instead of explicit for loop
269
270         * bufferlist.C (getFileNames): use std::transform and
271         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
272
273         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
274         for loop
275
276         * buffer.C (changeLanguage): use for_each instead of explicit for
277         loop
278         (hasParWithID): implement using getParFromID
279
280         * LaTeXFeatures.C: ws change only
281
282         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
283         to cleanup a bit.
284
285         * BufferView_pimpl.C (trackChanges): use for_each instead of
286         expilicit for loop
287
288 2004-11-04  André Pönitz  <poenitz@gmx.net>
289
290         * undo.h:
291         * undo.C (textUndoOrRedo): fix crash when creating undo information.
292
293         * dociterator.C (asDocIterator): use hard assert again.
294
295 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
296
297         * lyxlength.C (asLatexString): rewrite so that it does not use
298         snprintf anymore
299
300 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
301
302         * text3.C (specialChar, dispatch): make sure cursor moves to the
303         right after inserting an inset
304
305 2004-11-02  José Matos  <jamatos@lyx.org>
306
307         * output_docbook.C (docbook):
308         * paragraph.C (getID):
309         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
310         garantee that the output is always legal.
311
312         * tabular.C (docbook):
313         * outputprams.[Ch]: remove mixed contents.
314
315 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
316
317         * text2.C (setCounter): prevent endless loop
318
319 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
320
321         * exporter.C (copyFile): use the mover instead of support::copy()
322         * exporter.C (Export): pass format and latex name to copyFile()
323         * exporter.h (addExternalFile): document
324         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
325
326 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
327
328         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
329
330 2004-10-30  José Matos  <jamatos@lyx.org>
331
332         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
333         text and no inset or font change. This allows to use CDATA
334         sections just for the whole paragraph.
335
336 2004-10-30  José Matos  <jamatos@lyx.org>
337
338         * paragraph.C (getFirstWord): remove unused variable.
339
340 2004-10-30  José Matos  <jamatos@lyx.org>
341
342         * paragraph.C (getFirstWord): the content should always be escaped
343         there.
344         (simpleDocBookOnePar):
345         * output_docbook.C (makeEnvironment): replace reference to CDATA
346         to style pass_thru.
347
348 2004-10-30  José Matos  <jamatos@lyx.org>
349
350         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
351
352 2004-10-30  José Matos  <jamatos@lyx.org>
353
354         * output_docbook.C (makeParagraphs):
355         * paragraph.[Ch] (emptyTag): for docbook and company, if the
356         standard paragraph has only a given type of content drop the wrapper.
357
358 2004-10-29  José Matos  <jamatos@lyx.org>
359
360         * output_docbook.C (makeEnvironment):
361         * sgml.C (openTag):
362         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
363
364 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
365
366         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
367         (cleanID): sanitize any id.
368
369 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
370
371         * buffer.C, lyxlex_pimpl.C:
372         * lyxlex_pimpl.C (setFile):
373         s/getExtFromContents/getFormatFromContents/
374
375 2004-10-28  José Matos  <jamatos@lyx.org>
376
377         * output_docbook.C (makeEnvironment): move id to broadest possible
378         scope.
379
380         * sgml.C (openTag): apply substitution of <> for all attributes.
381
382 2004-10-28  José Matos  <jamatos@lyx.org>
383
384         * buffer.C (makeLinuxDocFile, makeDocBookFile):
385         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
386         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
387
388         * sgml.[Ch]: new version for open and closeTag for paragraph and
389         for strings. Now they handle the ids of paragraphs.
390
391 2004-10-26  Angus Leeming  <leeming@lyx.org>
392
393         * Makefile.am: add mover.[Ch].
394
395         * converter.C (convert, move): use the new Movers to move external
396         files to the temp directory.
397
398         * lyx_main.C (init): ensure that the global system_movers data
399         is initialised.
400
401         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
402         preferences file.
403
404         * mover.[Ch]: new files, defining a Mover as a utility to move an
405         external file between directories and, if necessary, manipulate this
406         file using a helper script.
407
408 2004-10-25  José Matos  <jamatos@lyx.org>
409
410         * output_docbook.C (makeCommand): merge two if's that tested the
411         same condition.
412
413 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
414
415         * sgml.C (escapeString): fix warning in a better way
416
417 2004-10-25  José Matos  <jamatos@lyx.org>
418
419         * sgml.C (escapeString): import the require boosts header file for
420         tie, and avoid a signed unsigned comparison.
421
422 2004-10-25  José Matos  <jamatos@lyx.org>
423
424         * sgml.h: add #include <string>
425
426 2004-10-25  José Matos  <jamatos@lyx.org>
427
428         * sgml.[Ch] (escapeString): new function to escape all the string.
429
430 2004-10-24  José Matos  <jamatos@lyx.org>
431
432         * paragraph.[Ch] (getFirstWord): new function to get the first
433         word. Useful for description.
434         (simpleDocBookOnePar): remove depth argument, add another that
435         says where to start the paragraph.
436
437         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
438         use the new functions to fix cleanly the support for descriptions.
439
440 2004-10-24  José Matos  <jamatos@lyx.org>
441
442         * buffer.C (makeLinuxDocFile, makeDocBookFile):
443         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
444         * output_linuxdoc.C (linuxdocParagraphs):
445         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
446         add buffer as argument.
447
448 2004-10-24  José Matos  <jamatos@lyx.org>
449
450         * output_docbook.C (makeEnvironment, searchEnvironment): place
451         CDATA inside paragraphs and fix scope for listitems.
452
453 2004-10-24  José Matos  <jamatos@lyx.org>
454
455         * output_docbook.C: remove using statement for stack.
456
457 2004-10-23  José Matos  <jamatos@lyx.org>
458
459         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
460         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
461         docbook. The new scheme is recursive and makes use of iterators, the
462         same as latex export works.
463         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
464         directly with the paragraph contents. This code was moved up to
465         output_docbook.C (docbookParagraphs).
466         * sgml.C (openTag, closeTag): removed unneeded newlines.
467         (closeEnvTags) removed.
468
469 2004-10-23  André Pönitz  <poenitz@gmx.net>
470
471         * undo.C (textUndoOrRedo):
472         * dociterator.C (asDocIterator): work around crash
473
474         * cursor.C (getStatus): replace ASSERT by more verbose error message
475           and manual correction of the problem. Should increase stability
476           while providing more sensible information.
477
478 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
479
480         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
481
482         * bufferlist.C (previous, next): new methods
483
484         * lfuns.h:
485         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
486
487 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
488
489         * buffer.C (makeDocBookFile): add dsssl stylesheet control
490         entities to preamble.
491
492 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
493
494         * messages.C (Pimpl): strip off translation context information
495
496 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
497
498         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
499         the cursor is correct (bug 1694)
500
501 2004-10-13  José Matos  <jamatos@lyx.org>
502
503         * output_docbook.C (docbookParagraphs): fix closing tags in the
504         end of the document.
505
506 2004-10-09  José Matos  <jamatos@lyx.org>
507
508         * buffer.C: format up to 237.
509         * bufferparams.C (write): use tostr to convert booleans to strings.
510
511 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
512
513         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
514
515 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
516
517         * LaTeX.C: implement use of babel language in xindy.
518
519 2004-10-05  José Matos  <jamatos@lyx.org>
520
521         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
522         Add new translators to help reading and writing the lyx file.
523
524 2004-10-05  José Matos  <jamatos@lyx.org>
525
526         * ParagraphParameters.C (read):
527         * text.C (readParToken): replace nexToken by more appropriate lex
528         methods.
529
530 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
531
532         * LaTeX.C (runMakeIndex):
533         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
534         (usually 'makeindex') configurable.
535
536         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
537         with a variable rather than with a number.
538
539 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
540
541         * output_latex.C (TeXOnePar): make sure font setting is the first
542         thing that gets output (and the last at the end). Should fix bug
543         1404.
544
545 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
546
547         * pch.h: use proper signal include
548
549         * LaTeX.h: Use preferred calling of Boost.Signal
550         * buffer.h: ditto
551
552 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
553
554         * pch.h: dont include <boost/function/function0.hpp>
555
556         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
557
558         * paragraph_pimpl.h: remove usage of ShareContainer
559
560         * paragraph_pimpl.C: remove initialization of ShareContainer.
561
562 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
563
564         Fix bug #1666
565
566         * BufferView.C (putSelectionAt): change the semantics when
567         backwards == true: now, this just swaps cursor and anchor wrt the
568         forward case
569
570         * BufferView.h (putSelectionAt): add some documentation
571
572         * lyxfind.C (findBackwards): rewrite using while(). In particular,
573         make sure backwardChar is done at least once (to avoid getting
574         stuck)
575         (findNextChange): use putSelectionAt in the forward direction
576         (operator()): use Paragraph::isWord
577
578 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
579
580         * Spacing.C (set): c_str fix
581
582 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
583
584         * lyx_cb.C (Reconfigure): quote the name of configure script in
585         case it contains spaces
586
587 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
588
589         * client: new dir
590
591         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
592         (BOOST_LIBS): use top_buildir when looking for the file
593
594 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
595
596         * pch.h: do not use include boost/format.hpp, multiple symbols
597                 will result (gcc bug)
598
599
600 2004-08-23  José Matos  <jamatos@lyx.org>
601
602         * bufferparams.C (readToken): fix reading of the author field.
603
604 2004-08-20  José Matos  <jamatos@lyx.org>
605
606         * lyxrc.C: remove support/translator.h inclusion since it is not used.
607
608 2004-08-20  José Matos  <jamatos@lyx.org>
609
610         * lyxlex.[Ch] (findToken): remove function.
611
612         * ParagraphParameters.C (findToken):
613         * bufferparams.C (findToken): replace call for previous function
614         with local copy. This local function has one more argument, the
615         read string argument.
616
617 2004-08-16  José Matos  <jamatos@lyx.org>
618
619         * ParagraphParameters.C (write):
620         * Spacing.C (writeFile):
621         * bufferparams.C (writeLaTeX):
622         * lyx_cb.C (Reconfigure):
623         * paragraph.C (write):
624         * tabular.C (write): remove unnecessary space at end of line.
625
626
627 2004-08-16  José Matos  <jamatos@lyx.org>
628
629         * text.C (readParagraph): remove debug message.
630
631 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
632
633         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
634         crash
635
636         * output_plaintext.C (asciiParagraph): set depth correctly
637
638         * outputparams.h: add member depth
639
640         * paragraph_funcs.C (ownerPar): remove.
641
642         * text2.C (setCounter): remove first_pit; comment out some
643         non-working code that uses ownerPar
644
645         * BufferView.C (getParentLanguage): remove. Not used anymore, and
646         uses ownerPar
647
648 2004-08-16  José Matos  <jamatos@lyx.org>
649
650         * text.C (readParToken, readParagraph, read): report all unknown tokens.
651         For the same level of importance use the same chanel to report problems.
652         (read): add code to deal with \begin_body and \end_body.
653
654
655 2004-08-15  José Matos  <jamatos@lyx.org>
656
657         * lyxlex.C (getString): fix comment, buffer::readBody is now
658         buffer:readDocument.
659
660         * tex-strings.C (string_papersize): Default -> default,
661         Custom -> custom, for consistency with other options.
662
663 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
664
665         * pch.h: new file
666
667         * Makefile.am: support pch
668
669 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
670
671         * text.C (readParToken): remove the static LyXFont variable and
672         pass it as a parameter instead. This fixes a nasty bug where an
673         inset will be inserted with a bad font in some situations
674         (readParagraph): adapt
675
676         * text2.C (setCounter): reduce number of calls to pars_[pit]
677
678         * text.C (singleWidth): add an assert, fix a test
679
680         * rowpainter.C (paintText): reduce number of calls to singleWidth
681
682         * paragraph.C (isHfill):
683         (isNewline): ws only
684
685 2004-08-14  André Pönitz  <poenitz@gmx.net>
686
687         * text.C:
688         * text2.C:
689         * rowpainter.C:
690         * lyxtext.h (several functions): use a Paragraph & argument
691         instead of par_type
692
693 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
694
695         * metricsinfo.h: add a new field ltr_pos to PainterInfo
696
697         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
698
699         * text.C (singleWidth): remove useless test
700
701 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
702
703         * tabular.h: remove bogus comments
704
705         * tabular.C (getDescentOfRow):
706         (isPartOfMultiColumn): add assertions
707
708         * lyxlength.C (inPixels): remove #warning
709
710 2004-08-14  André Pönitz  <poenitz@gmx.net>
711
712         * paragraph.h: inline getChar()
713
714         * BufferView.h: remove unused declarations
715
716 2004-08-14  José Matos  <jamatos@lyx.org>
717
718         * Buffer.[Ch] (readDocument): new name for old readBody.
719         * Buffer.C: new file format, new keywords: \begin_document,
720         \begin_header, \begin_body, \end_body.
721
722         * bufferparams.C (readToken): replace all calls to lex.nextToken
723         by lex.next(). Do the same to eatLine except where really needed.
724
725         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
726         line when writing to the lyx file.
727
728         * output_plaintext.C (asciiParagraph): fix Bibliography style
729         handling.
730
731         * text.C (read): fix end of file handling.
732
733 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
734
735         * MenuBackend.C (Menu::operator[]): new method to access
736         individual menu items
737         (Menu::hasFunc): new method. search for an item that corresponds
738         to a given func
739         (MenuBackend::specialMenu): new method
740         (MenuBackend::expand): if a special menu has been set, skip
741         entries whose func() appears in this menu
742
743 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
744
745         * text3.C: use Debug::DEBUG a bit more
746
747         * text.C (leftMargin): try to simplify a tiny bit change var x to
748         l_margin. Dont output the wide margins always.
749         (rightMargin): no margin in inner texts
750
751         * rowpainter.h (nestMargin): new func
752         (changebarMargin): new func
753         (rightMargin): new func
754
755         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
756         now functions.
757         (paintLast): ditto
758
759         * factory.C (createInset): modify setDrawFrame
760
761         * cursor.C: use Debug::DEBUG a bit more
762
763 2004-08-14  André Pönitz  <poenitz@gmx.net>
764
765         * coordcache.[Ch]:
766         * Makefile.am: new files to accomodate an 'external' (x,y)-position
767         cache for all insets in (at least partially) visible (top-level)
768         paragraphs.
769
770         * BufferView_pimpl.C: reset external coord cache before every update.
771         This means the coord cache only contains valid entries.
772
773 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
774
775         bug 1096
776         * BufferView_pimpl.C (getInsetByCode): move function out of class
777         and change in to a template in anon namespace. Also fix to do what
778         suits us better.
779
780 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
781
782         bug 1305
783         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
784         of char
785         (breakParagraph): rename par to par_offset and use a local
786         reference. Add code to keep the language over a rebreak.
787         (breakParagraphConservative): rename par to par_offset, use a
788         local reference
789         (mergeParagraph): ditto
790         (outerHook): ditto
791         (isFirstInSequence): ditto
792         (outerFont): rename pit to par_offset
793
794         * paragraph.C: ws change
795         * paragraph.h: ditto
796         * text3.C: ditto
797         * text.C: ditto
798
799 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
800
801         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
802         treatment for ']'
803
804         * paragraph.C (simpleTeXOnePar): when we have a \item with
805         optional argument, enclose the argument with curly brackets (in
806         case it contains a closing square bracket)
807
808         * text2.C (editXY):
809         * text2.C (editXY):
810         * text3.C (checkInsetHit): constify
811
812 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
813
814         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
815         documents (bug 1629)
816
817 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
818
819         Fix toggling of collapsable insets with the mouse (bug 1558)
820
821         * lyxfunc.C (dispatch): adapt to LCursor changes
822
823         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
824         make sure that dispatch is not invoked twice
825
826         * cursor.C (needsUpdate): new method
827         (dispatch): return void
828         (result): new method, to access the DispatchResult of the cursor.
829
830 2004-08-13  José Matos  <jamatos@lyx.org>
831
832         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
833
834 2004-08-13  André Pönitz  <poenitz@gmx.net>
835
836         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
837
838         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
839           multiple cells
840
841 2004-08-12  André Pönitz  <poenitz@gmx.net>
842
843         * text3.C: take out the 'cursor right' form insertInset and only
844         do it in those places when it is really needed. Fixes crash on
845         C-m...
846
847 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
848
849         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
850
851         * BufferView_pimpl.C (setBuffer): initialize the current font of
852         the underlying LyXText
853
854 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
855
856         * kbsequence.C (print): use UI native formatting for menu
857         shortcuts
858
859         * text.C (insertChar): call Paragraph::insertChar with a font
860         argument (cosmetic)
861
862         * paragraph.C (insertInset, insertChar): the version that takes a
863         LyXFont argument is now a wrapper around the other one (the
864         opposite used to be true).
865
866         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
867         argument. Font setting is done in Paragraph now.
868
869 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
870
871         * outputparams.h: add new members intitle and lang.
872
873         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
874         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
875
876 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
877
878         * text3.C (dispatch): remove special handling of button 4 and 5,
879         it is now taken care of in the frontend code.
880
881 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
882
883         * Spacing.h: add <string> (STLPort compile fix)
884
885 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
886
887         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
888
889 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
890
891         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
892         to bool.
893
894         * converter.C (showMessage): inherit from unary_function, make
895         operator() const.
896
897         * buffer.C (writeFile): initialize retval
898
899         * InsetList.h: rename private variable list to list_
900         * InsetList.[Ch]: adjust accordingly.
901
902 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
903
904         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
905         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
906         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
907         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
908         * ParagraphParameters.C, LaTeXFeatures.C: replace
909         "support/std_sstream.h" with <sstream>
910
911 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
912
913         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
914         * lyxsocket.C (LyXServerSocket): ditto
915         (serverCallback): ditto
916
917 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
918
919         * LaTeXFeatures.C: check release date when loading jurabib.
920
921 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
922
923         * lyxserver.C (startPipe): call register_socket_callback
924         (endPipe): call unregister_socket_callback
925
926 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
927
928         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
929         (LyXServerSocket): register the callback
930         (LyXServerSocket): unregister the callback
931         (fd): delete function
932         (serverCallback): improve error checking and setup the callbacks.
933         (dataCallback): change arg to fd.
934         (writeln): new func (copied fro the client socket) used for server
935         write to client.
936         (LyXDataSocket): simplify
937         (~LyXDataSocket): close ann unregiser callback
938         (server): delete function
939         (fd): delete function
940         (readln): small changes, improve some std::string usage
941         (writeln): constify a bit
942
943 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
944
945         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
946         Qt frontend
947
948 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
949
950         * BufferView_pimpl.C (setBuffer): set the layout combox value only
951         after it has been populated
952
953 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
954
955         * text2.C (insertInset): move cursor when inserting inset.
956
957 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
958
959         * kbmap.C (findbindings): a couple of new methods. returns a
960         container of kb_sequence objects. The real work is done by the
961         private recursive version
962         (printbindings): uses findbindings to print out a bracketed list
963         of bindings (renamed from findbinding).
964
965         * MenuBackend.C (binding): use kb_keymap::findbindings
966
967         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
968
969 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
970
971         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
972
973 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
974
975         * paragraph.C (isWord): return true on insets that report
976         isLetter().
977
978         * text.C (getWord): use Paragraph::isWord to decide what is in a
979         word and what is not; fix bug 1609.
980
981 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
982
983         * tex-strings.C: add "none" to string_paperpackages[], fixes
984         off-by-one-error in the paperpackage selection.
985
986         * lyxlex.[Ch]:
987         * tex-strings.[Ch]: char const * string[n]
988         -> char const * const string[]
989
990 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
991
992         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
993         command, return early.
994
995 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
996
997         * debug.h: add DEBUG to enum and fix size of ANY.
998
999         * debug.C: add support for Debug::DEBUG
1000         (showTags): cast errorTags.level to unsigned int
1001
1002         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1003         (redoCurrentBuffer): ditto
1004         (updateScrollbar): ditto
1005         * cursor.C (dispatch): ditto
1006         * text2.C (setLayout): ditto
1007         (setFont): ditto
1008         (updateCounters): ditto
1009         (editXY): ditto
1010         (deleteEmptyParagraphMechanism): ditto
1011
1012 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1013
1014         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1015         annotations to cleanup the Makefile slightly.
1016
1017 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1018
1019         * lyxrc.C: do not set user_email to a default value but use empty
1020         instead. The entry used to be translated, which does not work
1021         since at the point where lyxrc is constructed there is no
1022         translation service available
1023
1024         * messages.C (getLocaleDir): remove and use directly
1025         lyx_localedir() instead
1026
1027 2004-06-02  Angus Leeming  <leeming@lyx.org>
1028
1029         Fix crash caused by dereferencing null pointer 'exportdata' in
1030         OutputParams by creating a new ExportData variable on the heap,
1031         storing it in a boost::shared_ptr.
1032         The crash was triggered when generating an Instant Preview
1033         of an external inset.
1034
1035         * Makefile.am: add outputparams.C
1036
1037         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1038         (c-tor): allocate memory to it.
1039
1040         * exporter.C (c-tor): associated changes.
1041
1042 2004-06-01  Angus Leeming  <leeming@lyx.org>
1043
1044         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1045         contains data before calling isInset(0). (Bug 1513.)
1046
1047 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1048
1049         * exporter.C (checkOverwrite): new method
1050         * exporter.C (copyFile): new method
1051         * exporter.C (Export): copy referenced files to the document dir
1052         * exporter.[Ch]: new class ExportedFile
1053         * exporter.[Ch]: new class ExportData. Contains currently the
1054         names of referenced external files
1055         * outputparams.h: add exportdata member.
1056
1057 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1058
1059         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1060         version.C-tmp
1061
1062 2004-05-19  Angus Leeming  <leeming@lyx.org>
1063
1064         * LaTeXFeatures.C:
1065         * ToolbarBackend.C:
1066         * bufferparams.C:
1067         * lyxfunc.C: small changes due to the introduction of namespace
1068         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1069
1070 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1071
1072         * text3.C (dispatch): supress update when only moving the cursor
1073         * cursor.C (selHandle): remove commented code
1074
1075 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1076
1077         * paragraph.C (startTeXParParams): correct column count
1078         * CutAndPaste.C (pasteSelection): remove const_cast
1079         * output_docbook.C (docbookParagraphs): remove const_cast
1080         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1081         const_cast and return ParagraphList::const_iterator
1082         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1083         * output_plaintext.C (writeFileAscii): remove const_cast
1084         * paragraph.[Ch] (simpleTeXOnePar): make const
1085         * paragraph_funcs.C (outerPar): use const iterators
1086         * paragraph_pimpl.C (validate): use const iterators
1087         * text.C (setHeightOfRow): use const iterators
1088
1089 2004-05-17  Angus Leeming  <leeming@lyx.org>
1090
1091         * lfuns.h:
1092         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1093
1094         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1095         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1096         if the citation engine has changed.
1097
1098 2004-05-14  José Matos  <jamatos@lyx.org>
1099
1100         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1101         if the textclass does not provide it. Have it different for sgml and
1102         xml.
1103         support the language of document.
1104         * output_docbook.C (docbookParagraphs):
1105         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1106         first anchor as the id of the paragraph, remove special case code.
1107         * sgml.C (escapeChar): escape only < & >.
1108
1109 2004-05-14  Angus Leeming  <leeming@lyx.org>
1110
1111         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1112         dependencies on src/frontends/controllers/biblio.h. Define a
1113         CiteEngine_enum wrapper class to enable the enum to be forward
1114         declared.
1115
1116 2004-05-12  Angus Leeming  <leeming@lyx.org>
1117
1118         * buffer.C: up LYX_FORMAT to 234.
1119         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1120         use_numerical_citations with a single biblio::CiteEngine cite_engine
1121         variable.
1122         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1123
1124 2004-05-13  José Matos  <jamatos@lyx.org>
1125
1126         * converter.h:
1127         * converter.C (Converter, readFlags): add xml member.
1128         * outputparams.h: add XML flavor.
1129         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1130
1131 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1132
1133         * lyxfunc.C (dispatch):
1134         (getStatus): fix handling of LFUN_SEQUENCE
1135
1136 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1137
1138         * debug.C (showLevel): do not forget the end-of-line marker
1139
1140 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1141
1142         * kbmap.C (read): do not stop parsing a bind file when an error
1143         occurs (bug 1575)
1144
1145 2004-04-29  Angus Leeming  <leeming@lyx.org>
1146
1147         * cursor.C:
1148         * factory.C:
1149         * pariterator.C:
1150         * text2.C: wrap a bunch of #warning statements
1151         inside #ifdef WITH_WARNINGS blocks.
1152
1153 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1154
1155         * buffer.C: increment format to 233.
1156
1157 2004-04-28  Angus Leeming  <leeming@lyx.org>
1158
1159         * BufferView_pimpl.C:
1160         * lyxfunc.C:
1161         * text3.C:
1162         s/updateToolbar()/updateToolbars()/
1163         s/Toolbar.h/Toolbars.h/
1164
1165 2004-04-28  Angus Leeming  <leeming@lyx.org>
1166
1167         * BufferView.[Ch] (c-tor):
1168         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1169         No longer passes these data to the WorkArea generator.
1170
1171 2004-04-28  Angus Leeming  <leeming@lyx.org>
1172
1173         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1174
1175 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1176
1177         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1178
1179 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1180
1181         * output_latex.C (TeXEnvironment): make sure that there is a line
1182         break before \end{foo} for the last paragraph of a document
1183         (TeXOnePar): if the paragraph is at the end of the document (or
1184         inset) and the language has to be reset, then make sure that the
1185         line break is _before_ the language command, not after (fixes bug
1186         1225); also make sure that the language reset command is the first
1187         thing after the paragraph (to ensure proper nesting of
1188         environments and thus fix bug 1404)
1189
1190 2004-04-21  John Levon  <levon@movementarian.org>
1191
1192         * ToolbarBackend.h:
1193         * ToolbarBackend.C: make "name" be a programmatic name
1194         and a gui_name field.
1195
1196         * lyxfunc.C: display the minibuffer on M-x
1197
1198 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1199
1200         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1201         (bug 1526)
1202
1203 2004-04-19  Angus Leeming  <leeming@lyx.org>
1204
1205         * BufferView_pimpl.C (setBuffer): changed preview interface.
1206
1207         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1208         possible values.
1209
1210 2004-04-19  John Levon  <levon@movementarian.org>
1211
1212         * BufferView_pimpl.C:
1213         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1214
1215 2004-04-05  Angus Leeming  <leeming@lyx.org>
1216
1217         * text.C (redoParagraphs): add call to updateCounters(), thereby
1218         fixing the missing "Figure #:" label from the caption of a
1219         figure float.
1220
1221 2004-04-13  Angus Leeming  <leeming@lyx.org>
1222
1223         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1224         cursor is clicked out of an inset.
1225
1226 2004-04-13  Angus Leeming  <leeming@lyx.org>
1227
1228         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1229         than an InsetOld one.
1230
1231 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1232
1233         * format.[Ch]: add editor to Format
1234         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1235         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1236
1237 2004-04-08  André Pönitz  <poenitz@gmx.net>
1238
1239         * metricsinfo.h: remove PainterInfo::width member
1240
1241 2004-04-08  Angus Leeming  <leeming@lyx.org>
1242
1243         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1244         "\providecommand" rather than "\newcommand", thereby preventing
1245         clashes with packages that define "\boldsymbol" themselves.
1246         Eg, beamer.
1247
1248 2004-04-08  Angus Leeming  <leeming@lyx.org>
1249
1250         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1251         thereby squashing an unnecessary warning.
1252
1253 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1254
1255         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1256         setBuffer()
1257
1258 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1259
1260         * BufferView.C (setCursor): call redoParagraph (some insets could
1261         have been opened)
1262         (putSelectionAt): remove the 'double update' trick
1263
1264         * BufferView_pimpl.C (fitCursor): call refreshPar
1265         (workAreaDispatch): remove an uneeded update call
1266         (dispatch): remove some manual update calls
1267
1268         * cursor.[Ch]: remove cached_y_, updatePos
1269         (selHandle): set noUpdate when appropriate
1270
1271         * lyxfunc.C (dispatch): track if we need an update
1272
1273         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1274
1275         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1276         (paintSelection): cheap optimization, do not call cursorX when not
1277         needed
1278         (paintPars): change signature
1279         (refreshPar): add
1280         (paintText): adjust
1281         (paintTextInset): adjust
1282
1283         * text.C: adjust
1284
1285 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1286
1287         * lengthcommon.C: compilation fix: remove explicit array size from
1288         unit_name[] and friends
1289
1290 2004-04-05  Angus Leeming  <leeming@lyx.org>
1291
1292         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1293
1294         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1295         present only for the preferences dialog.
1296         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1297
1298 2004-04-05  Angus Leeming  <leeming@lyx.org>
1299
1300         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1301         to enable the frontends to export changes to lyxrc correctly.
1302
1303         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1304
1305 2004-04-07  André Pönitz  <poenitz@gmx.net>
1306
1307         * cursor.[Ch] (selClear, adjust): remove math
1308
1309         * cursor_slice.C: more agressive assert
1310
1311         * lyxfunc.C:
1312         * BufferView_pimpl.C: rework mouse event dispatch
1313
1314         * dociterator.C:
1315         * paragraph.C:
1316         * text2.C:
1317         * text3.C: adjust
1318
1319 2004-04-05  André Pönitz  <poenitz@gmx.net>
1320
1321         * cursor.[Ch] (valign, halign...): remove unneeded functions
1322
1323 2004-04-05  Angus Leeming  <leeming@lyx.org>
1324
1325         * lyxlength.[Ch] (unit_name et al.): const-correct.
1326
1327 2004-04-05  Angus Leeming  <leeming@lyx.org>
1328
1329         * BufferView_pimpl.C:
1330         * buffer.C:
1331         * counters.C:
1332         * cursor.C:
1333         * lyxfunc.C
1334         * paragraph.C:
1335         * pariterator.C:
1336         * text.C:
1337         * text2.C:
1338         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1339
1340 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1341
1342         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1343
1344 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1345
1346         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1347         * BufferView_pimpl.[Ch] (getStatus)
1348         * BufferView.[Ch] (getStatus): add
1349         * lyxfunc.C (getStatus): move lfuns handled in
1350         BufferView::dispatch to te function above
1351         * Cursor.C (setSelection): set selection() = true
1352
1353 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1354
1355         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1356
1357 2004-03-31  Angus Leeming  <leeming@lyx.org>
1358
1359         * lyxfunc.C (dispatch): Fall through to the generic
1360         Dialogs::show("preamble").
1361
1362 2004-03-31  Angus Leeming  <leeming@lyx.org>
1363
1364         * lyxfunc.C (dispatch): Fall through to the generic
1365         Dialogs::show("spellchecker").
1366
1367 2004-03-31  Angus Leeming  <leeming@lyx.org>
1368
1369         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1370         preferences dialog.
1371
1372 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1373
1374         * BufferView.C
1375         * cursor.[Ch]
1376         * dociterator.[Ch]:
1377         * insetiterator.[Ch]:
1378         * lyxfind.C:
1379         * lyxfunc.C:
1380         * pariterator.[Ch]:
1381         * text2.C:
1382         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1383
1384 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1385
1386         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1387         insets where we are putting the cursor.
1388
1389 2004-03-31  Angus Leeming  <leeming@lyx.org>
1390
1391         * lfuns.h:
1392         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1393
1394         * lyxrc.[Ch] (read, write): overloaded member functions taking
1395         a std::[io]stream arguments.
1396
1397         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1398
1399 2004-03-31  Angus Leeming  <leeming@lyx.org>
1400
1401         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1402         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1403
1404         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1405         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1406
1407 2004-03-31  Angus Leeming  <leeming@lyx.org>
1408
1409         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1410         the LFUN_ALL_INSETS_TOGGLE code.
1411
1412 2004-03-30  Angus Leeming  <leeming@lyx.org>
1413
1414         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1415         has died. Fall through to the generic Dialogs::show("document").
1416
1417 2004-03-30  Angus Leeming  <leeming@lyx.org>
1418
1419         * lfuns.h:
1420         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1421         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1422
1423         * lyxfunc.C (getStatus, dispatch): define the actions for these
1424         lfuns. Little more than a cut and pste job from ControlDocument.C
1425
1426         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1427
1428 2004-03-30  Angus Leeming  <leeming@lyx.org>
1429
1430         * lfuns.h:
1431         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1432         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1433
1434         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1435         open/closed state of ollapsable insets. Usage:
1436
1437         all-inset-toggle <state> <name>, where
1438         <state> == "open" || "closed" || "toggle" and
1439         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1440
1441         * lyxtext.h, text2.C (toggleInset): removed.
1442
1443         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1444         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1445         now passes LFUN_INSET_TOGGLE to the found inset.
1446
1447         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1448         is now invoked as "all-insets-toggle toggle branch".
1449
1450 2004-03-30  Angus Leeming  <leeming@lyx.org>
1451
1452         * dociterator.C:
1453         * insetiterator.C:
1454         * pariterator.[Ch]: added/corrected header blurb.
1455
1456 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1457
1458         * dociterator.[Ch]: add an inset_ member
1459         (backwardPos): implemented
1460         (backwardPos, forwardPos): use inset_ when the stack is empty.
1461         (doc_iterator_begin, doc_iterator_end): implemented
1462         * pariterator.[Ch]: adjust, add begin, end
1463         * insetiterator.[Ch]: adjust, add begin, end
1464         * cursor.C:
1465         * document.C:
1466         * BufferView.C:
1467         * BufferView_pimpl.C:
1468         * CutAndPaste.C: adjust
1469
1470 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1471
1472         * buffer.C: increment file format to 232.
1473         * LaTeXFeatures.C: add bibtopic package.
1474         * bufferparams.[Ch]: param \use_bibtopic.
1475
1476         * lyxrc.[Ch]: add lyxrc bibtex_command
1477         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1478
1479         * buffer.C: increment file format to 231.
1480
1481 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1482
1483         * dociterator.C: implement forwardPar
1484         * iterators.[Ch]: remove, replaced by
1485         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1486         * BufferView.C:
1487         * BufferView_pimpl.C:
1488         * CutAndPaste.C:
1489         * buffer.C:
1490         * bufferview_funcs.C:
1491         * cursor.C:
1492         * lyxfind.C
1493         * lyxfunc.C
1494         * paragraph_funcs.C
1495         * toc.C:
1496         * Makefile.am: adjust
1497
1498 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1499
1500         * CutAndPaste.C (pasteSelection): fix 2 crashes
1501         (eraseSelection): fix a crash
1502         * paragraph_funcs.C: remove a warning
1503
1504 2004-03-28  Angus Leeming  <leeming@lyx.org>
1505
1506         * lfuns.h:
1507         * LyXAction.C (init): new LFUN_PRINT.
1508
1509         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1510
1511 2004-03-27  Angus Leeming  <leeming@lyx.org>
1512
1513         * lfuns.h:
1514         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1515
1516         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1517
1518 2004-03-27  Angus Leeming  <leeming@lyx.org>
1519
1520         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1521         insetlist always contains non-null pointers to insets.
1522
1523 2004-03-26  Angus Leeming  <leeming@lyx.org>
1524
1525         * src/BufferView_pimpl.C:
1526         * src/CutAndPaste.C:
1527         * src/buffer.C:
1528         * src/iterators.C:
1529         * src/output_plaintext.C:
1530         * src/outputparams.h:
1531         * src/paragraph_funcs.C:
1532         * src/rowpainter.C:
1533         * src/text.C:
1534         * src/text2.C:
1535         * src/frontends/controllers/ControlErrorList.C:
1536         * src/frontends/gtk/FileDialogPrivate.C:
1537         * src/frontends/gtk/GPainter.C:
1538         * src/frontends/gtk/GToolbar.C:
1539         * src/frontends/qt2/QRef.C:
1540         * src/mathed/math_scriptinset.C: squash compiler warnings.
1541
1542 2004-03-26  Angus Leeming  <leeming@lyx.org>
1543
1544         * ispell.C (LaunchIspell::start):
1545         * lyx_cb.C (AutoSaveBuffer::start):
1546         invoke run(DontWait) rather than runNonBlocking().
1547
1548 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1549
1550         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1551
1552 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1553
1554         * kbsequence.C (print): adjust
1555
1556         * kbmap.C (printKeySym): rename and change signature
1557         (printKey): use LyXKeySym::print()
1558
1559 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1560
1561         * undo.C: add using std::advance to compile for stlport
1562
1563 2004-03-24  Angus Leeming  <leeming@lyx.org>
1564
1565         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1566         it leads to a crash when no buffer is present.
1567
1568 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1569             Martin Vermeer  <martin.vermeer@hut.fi>
1570
1571         * lyxfunc.C (dispatch):
1572         * bufferparams.C (readToken): use the new LColor::setColor
1573
1574         * LColor.[Ch] (setColor): new version that takes two strings as
1575         argument and creates a new color entry if necessary
1576
1577 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1578
1579         * buffer.C (makeLaTeXFile): if the main latex file that is
1580         processed is usually a subdocument of some master, then pretend
1581         for a while that it is actually the master
1582
1583 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1584
1585         * buffer.C (getLabelList):
1586         (getBibkeyList): use getMasterBuffer()
1587         (getMasterBuffer): new method. Returns the main document in the
1588         case where one is using included documents.
1589
1590 2004-03-25  André Pönitz  <poenitz@gmx.net>
1591
1592         * Makefile.am:
1593         * iterators.[Ch]:
1594         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1595
1596         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1597
1598         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1599         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1600
1601         * ParameterStruct.h: merge with ParagraphParameters
1602
1603         * lyxtext.h: remove LyXText::parOffset() and getPar()
1604
1605         * text3.C: Remove all 'manual' update calls. We do now one per user
1606         interaction which is completely sufficient.
1607
1608         * Bidi.C:
1609         * BufferView.[Ch]:
1610         * BufferView_pimpl.C:
1611         * FontIterator.[Ch]:
1612         * MenuBackend.C:
1613         * ParagraphParameters.[Ch]:
1614         * buffer.C:
1615         * buffer.h:
1616         * bufferlist.C:
1617         * cursor.[Ch]:
1618         * cursor_slice.[Ch]:
1619         * dociterator.[Ch]:
1620         * errorlist.[Ch]:
1621         * factory.C:
1622         * lfuns.h:
1623         * lyxfind.C:
1624         * lyxfunc.C:
1625         * output_docbook.[Ch]:
1626         * output_latex.[Ch]:
1627         * output_linuxdoc.[Ch]:
1628         * output_plaintext.[Ch]:
1629         * paragraph.[Ch]:
1630         * paragraph_funcs.[Ch]:
1631         * paragraph_pimpl.[Ch]:
1632         * rowpainter.C:
1633         * tabular.[Ch]:
1634         * text.C:
1635         * text2.C:
1636         * toc.C:
1637         * undo.[Ch]: adjust
1638
1639         * frontends/controllers/ControlDocument.C:
1640         * frontends/controllers/ControlErrorList.C:
1641         * frontends/controllers/ControlSpellchecker.C:
1642         * insets/inset.C:
1643         * insets/inset.h:
1644         * insets/insetbase.h:
1645         * insets/insetbibitem.C:
1646         * insets/insetbox.C:
1647         * insets/insetbranch.C:
1648         * insets/insetcaption.C:
1649         * insets/insetcharstyle.C:
1650         * insets/insetcharstyle.h:
1651         * insets/insetcollapsable.C:
1652         * insets/insetcollapsable.h:
1653         * insets/insetert.C:
1654         * insets/insetfloat.C:
1655         * insets/insetfoot.C:
1656         * insets/insetmarginal.C:
1657         * insets/insetnote.C:
1658         * insets/insetoptarg.C:
1659         * insets/insettabular.C:
1660         * insets/insettext.C:
1661         * insets/insettext.h:
1662         * insets/insetwrap.C:
1663         * mathed/math_mboxinset.C:
1664         * mathed/math_nestinset.C:
1665         * mathed/math_scriptinset.C:
1666         * mathed/math_scriptinset.h:
1667         * support/types.h:
1668
1669 2004-03-24  Angus Leeming  <leeming@lyx.org>
1670
1671         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1672         deal with any child processes that have finished but are waiting to
1673         communicate this fact to the rest of LyX.
1674
1675 2004-03-24  Angus Leeming  <leeming@lyx.org>
1676
1677         64-bit compile fixes.
1678
1679         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1680         (c-tor): pass lyx::pos_types rather than ints.
1681
1682         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1683         lyx::pos_type.
1684
1685         * text.C (Delete): compile fix.
1686         (getPar): ensure that function declaration is the same as that in
1687         the header file.
1688
1689 2004-03-23  Angus Leeming  <leeming@lyx.org>
1690
1691         * ispell.C (LaunchIspell):
1692         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1693         a boost::shred_ptr rather than a std::auto_ptr.
1694
1695 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1696
1697         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1698         handle LFUN_FILE_INSERT_*
1699
1700         * lyxrc.C (setDefaults, getDescription, output, read):
1701         * lyxrc.h: remove ps_command
1702
1703 2004-03-22  Angus Leeming  <leeming@lyx.org>
1704
1705         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1706         Ensure that error_handler is processed once only and that all data
1707         is saved before attempting to output any warning messages.
1708
1709         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1710
1711 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1712
1713         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1714
1715 2004-03-19  André Pönitz  <poenitz@gmx.net>
1716
1717         * cursor.[Ch] (reset): take main text inset as argument
1718
1719         * BufferView: adjust
1720         * BufferView_pimpl.C: adjust
1721
1722         * paragraph.[Ch]: fix completely broken operator=()
1723
1724 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1725
1726         * LColor.C (getFromLyXName): make sure that the color name is used
1727         as lowercase.
1728
1729 2004-03-17  Angus Leeming  <leeming@lyx.org>
1730
1731         * lfuns.h:
1732         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1733
1734         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1735         dialog and to kill a forked process.
1736
1737 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1738
1739         * text2.C (setCursorFromCoordinates): fix font problem
1740
1741 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1742
1743         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1744         bogus "rebuild cursor" code
1745
1746 2004-03-11  André Pönitz  <poenitz@gmx.net>
1747
1748         * buffer.[Ch]: use InsetText instead of LyXText as container for
1749         the main lyx text.
1750
1751         * dociterator.[Ch]: drop the BufferView * member which is not needed
1752         anymore after the change to buffer.C
1753
1754         * paragraph_funcs.C:
1755         * text.C:
1756         * text2.C:
1757         * BufferView.[Ch]:
1758         * BufferView_pimpl.[Ch]:
1759         * cursor.[Ch]:
1760         * cursor_slice.[Ch]: adjust
1761
1762         * text3.C: fix bug in mathDispatch
1763
1764 2004-03-08  André Pönitz  <poenitz@gmx.net>
1765
1766         * undo.[Ch]: use 'StableDocumentIterator' as base for
1767         the Undo struct.
1768
1769 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1770
1771         * LaTeXFeatures.C:
1772         * bufferparams.[Ch]: add jurabib support and param.
1773
1774         * LaTeX.C: add FIXME/comment.
1775
1776 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1777
1778         * buffer.C: increment file format to 230.
1779
1780 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1781
1782         * cursor.C (dispatch): avoid infinite loops
1783
1784 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1785
1786         * rowpainter.C (paintSelection): fix x coordinates
1787
1788 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1789
1790         * text.C (rowBreakPoint): fix breaking before displayed insets
1791
1792 2004-03-01  André Pönitz  <poenitz@gmx.net>
1793
1794         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1795
1796         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1797
1798         * Makefile.am:
1799         * BufferView.C:
1800         * BufferView_pimpl.C:
1801         * buffer.C:
1802         * lyxfind.C:
1803         * lyxfunc.C:
1804         * text.C:
1805         * text2.C:
1806         * text3.C: adjust
1807
1808 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1809
1810         * lyxtext.h:
1811         * text.C:
1812         * text2.C:
1813         * rowpainter.C:
1814         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1815         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1816
1817 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1818
1819         * Bidi.[Ch] (computeTables): const correctness
1820         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1821         fill_hfill, fill_label_hfill and x from Row
1822         * lyxtext.h: prepareToPrint returns a RowMetrics
1823         * rowPainter.C: adjust
1824         * text.C (prepareToPrint): use width, not textWidth. adjust
1825         (redoParagraphInternal, cursorX): adjust
1826         * text2.C (getColumnNearX): adjust
1827         (init): put a default value to the top LyXText::width
1828
1829 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1830
1831         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1832
1833 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1834
1835         * lyxtext.h: add FontIterator class
1836
1837         * text.C (FontIterator, operator*, operator->, operator++): add
1838         (rowBreakPoint, setRowWidth): adjust (fixing a
1839         rebreaking bug)
1840
1841 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1842
1843         * BufferView_pimpl.C (workAreaDispatch): allow also
1844         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1845
1846 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1847
1848         * text.C (rowBreakPoint): fix a bug showing with very large insets
1849
1850 2004-02-25  André Pönitz  <poenitz@gmx.net>
1851
1852         * text3.C:
1853         * cursor.[Ch]: move some mathed specific code to mathed
1854
1855 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1856
1857         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1858         use_tempdir in preferences
1859         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1860         tempfile creation
1861         * lyx_main.C: ensure that tempdir is valid
1862         * lyxlex.h: correct typo
1863         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1864         * paragraph.[Ch] (isMultiLingual): make const
1865         * cursor.[Ch] (openable): make const
1866
1867 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1868
1869         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1870
1871 2004-02-20  André Pönitz  <poenitz@gmx.net>
1872
1873         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1874
1875         * cursor.[Ch]: prepare for localized getStatus()
1876
1877         * lyxtext.h:
1878         * tabular.C:
1879         * text.C:
1880         * text2.C:
1881         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1882
1883 2004-02-20  André Pönitz  <poenitz@gmx.net>
1884
1885         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1886
1887 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1888
1889         * text2.C (setCursorFromCoordinates): switch to absolute coords
1890         (cursorUp): adjust
1891         (cursorDown): adjust
1892         * text3.C (dispatch): adjust
1893
1894 2004-02-16  André Pönitz  <poenitz@gmx.net>
1895
1896         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1897           insets/ChangeLog)
1898
1899         * cursor_slice.[Ch]: remove unneeded acessor function
1900
1901         * lyxtext.h: rename rtl() to isRTL()
1902
1903         * rowpainter.C:
1904         * tabular.C:
1905         * text.C:
1906         * text2.C:
1907         * text3.C: adjust
1908
1909 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1910
1911         * rowpainter.C (paintSelection): coord fix
1912
1913 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1914
1915         * Spacing.C: compile fix
1916
1917 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1918
1919         * cursor.C (dispatch): restore current_ before returning
1920
1921 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1922
1923         * text2.C (cursorUp, cursorDown): fix coords
1924         (moveUp): fix crash
1925
1926 2004-02-12  André Pönitz  <poenitz@gmx.net>
1927
1928         * lyxtext.h:
1929         * text.C:
1930         * text2.C:
1931         * text3.C: add LCursor & parameter to most cursor movement functions
1932           remove usage of LyXText::cursorRow() and cursorPar()
1933
1934         * cursor.[Ch]: add textRow() needed members
1935
1936         * BufferView.C:
1937         * BufferView_pimpl.C:
1938         * paragraph.[Ch]:
1939         * BufferView.C:
1940         * BufferView_pimpl.C: adjust
1941
1942 2004-02-11  André Pönitz  <poenitz@gmx.net>
1943
1944         * lyxfunc.C:
1945         * BufferView.[Ch]:
1946         * BufferView_pimpl.C: shift undo/redo handling
1947
1948         * cursor.[Ch]: fix mathed crash
1949
1950         * lyxfind.C:
1951         * lyxtext.h: move selectionAsText to LCursor
1952
1953         * output_latex.C:
1954         * paragraph.C:
1955         * text.C:
1956         * text2.C:
1957         * text3.C: adjust
1958
1959         * rowpainter.C: fix excessive drawing
1960
1961 2004-02-06  André Pönitz  <poenitz@gmx.net>
1962
1963         * BufferView.[Ch]:
1964         * BufferView_pimpl.[Ch]:
1965         * text3.C: move some text specific LFUN handling
1966
1967 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1968
1969         * text3.C (checkInsetHit): adjust coords
1970         * text2.C (getColumnNearX): adjust coords
1971         (edit): adjust coords
1972         * text.C (getRowNearY): add two asserts
1973
1974 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1975
1976         * converter.C:
1977         * format.C: add using std::distance to compile on gcc 2.95/stlport
1978
1979 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1980
1981         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1982
1983 2004-02-04  André Pönitz  <poenitz@gmx.net>
1984
1985         * BufferView.[Ch] (insertInset):
1986         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1987
1988         * text2.C:
1989         * text3.C: adjust
1990
1991 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1992
1993         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1994         on the default clause of the switch
1995         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1996         wasn't catched by LCursor::dispatch
1997
1998 2004-02-03  André Pönitz  <poenitz@gmx.net>
1999
2000         * BufferView.C:
2001         * cursor.[Ch]: some additional asserts
2002
2003         * undo.[Ch]: remove LyXText dependency in interface
2004
2005         * lyxfunc.C: adjust
2006
2007         * lyxtext.h (firstPar, lastPar): remove dead functions
2008
2009         * text.C:
2010         * text2.C:
2011         * text3.C:
2012         * paragraph.[Ch]: adjust
2013
2014 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2015
2016         * lyxfind.C (find): fix argument order in call to ::find
2017
2018 2004-02-02  André Pönitz  <poenitz@gmx.net>
2019
2020         * cursor.[Ch]: remove direct access to anchor
2021
2022         * text.C: remove findText() hack
2023
2024 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2025
2026         * iterators.[Ch] (lockPath): remove in favour of...
2027         * BufferView.[Ch] (setCursor): this addition
2028         * BufferView.C (putSelectionAt): adjust
2029         * undo.C (performUndoOrRedo): adjust
2030         * lyxfunc.C (dispatch): adjust
2031
2032 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2033
2034         * iterators.C (lockPath): add a missing slice
2035         * undo.C (performUndoOrRedo): remove redundant positioning code
2036
2037 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2038
2039         * vc-backend.C (scanMaster): ";" -> ';'
2040
2041 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2042
2043         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2044         std::binary_function
2045
2046         * lyxtextclass.C (compare_name): rename to...
2047         (LayoutNamesEqual): ...this
2048
2049         * lyxlex_pimpl.C (compare_tags): inherit from
2050         std::binary_function, put back into anon namespace
2051
2052         * lyxfind.C (MatchString): inherig from std::binary_function
2053         (findChange): use empty() istead of !size()
2054
2055         * format.C (FormatNamesEqual): new functor
2056         (getFormat): use it
2057         (getNumber): use it
2058         (add): use it
2059         (erase): use it
2060         (setViewer): use it
2061
2062         * converter.C (compare_Converter): rename to...
2063         (ConverterEqual): ...this, and fixup a bit.
2064         (getConverter): use it, and make function const
2065         (getNumber): use it, and make function const
2066         (add): use it
2067         (erase): use it:
2068
2069         * bufferlist.C: add using boost::bind
2070
2071         * MenuBackend.C (MenuNamesEqual): new functor
2072         (hasMenu): use it, and make function const
2073         (hasSubmenu): use nested bind to get rid of compare_memfun.
2074
2075 2004-01-30  André Pönitz  <poenitz@gmx.net>
2076
2077         * BufferView_pimpl.C:
2078         * cursor.C:
2079         * cursor.h:
2080         * cursor_slice.[Ch]:
2081         * lyxfunc.C:
2082         * lyxtext.h:
2083         * paragraph_funcs.C:
2084         * paragraph_funcs.h:
2085         * rowpainter.C:
2086         * text.C:
2087         * text2.C:
2088         * text3.C: move some of the edit(x,y) handling to the insets
2089         some coordinate changes.
2090
2091 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2092
2093         * text.C: add using statements for std::advance and std::distance
2094
2095         * paragraph.C: add using statement for std::distance
2096
2097         * lyxfind.C: add using statement for std::advance
2098
2099         * cursor.C (region): remove std:: from swap
2100         (openable): use nucleus in stead of operator->
2101
2102         * BufferView.C: add using statements for std::distance and std::swap
2103
2104 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2105
2106         * iterators.C: Remove the pimple, move the needed structures to
2107         the header file. Create accessor for the positions stack.
2108         (asPosIterator): remove function
2109
2110         * PosIterator.C (PosIterator): move constructors to top of file
2111         (PosIterator): reimplement the constructor taking a ParIterator in
2112         terms of setFrom.
2113         (setFrom): new function
2114         (operator!=): inline it
2115
2116 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2117
2118         * lyxfind.C (replaceAll): use std::advance
2119
2120         * iterators.h: inherit from std::iterator.
2121
2122         * PosIterator.C (advance, distance): remove
2123         * PosIterator.h: interit from std::iterator.
2124
2125 2004-01-26  André Pönitz  <poenitz@gmx.net>
2126
2127         * BufferView.[Ch]:
2128         * BufferView_pimpl.[Ch]:
2129         * InsetList.[Ch]:
2130         * PosIterator.[Ch]:
2131         * buffer.h:
2132         * bufferview_funcs.C:
2133         * cursor.[Ch]:
2134         * cursor_slice.h:
2135         * factory.[Ch]:
2136         * iterators.[Ch]:
2137         * lyxfind.C:
2138         * lyxfunc.C:
2139         * lyxtext.h:
2140         * output_docbook.C:
2141         * output_latex.C:
2142         * output_linuxdoc.C:
2143         * output_plaintext.C:
2144         * paragraph.[Ch]:
2145         * paragraph_funcs.[Ch]:
2146         * paragraph_pimpl.[Ch]:
2147         * rowpainter.C:
2148         * tabular.C:
2149         * tabular.h:
2150         * text.C:
2151         * text2.C:
2152         * text3.C: more IU:  dumps most of the rest of the mathcursor
2153     implementation into cursor.[Ch]; "globalize" a bit of it.
2154
2155 2004-01-25  Angus Leeming  <leeming@lyx.org>
2156
2157         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2158
2159 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2160
2161         * LaTeXFeatures.h: add nice_ and nice() const
2162         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2163
2164 2004-01-20  André Pönitz  <poenitz@gmx.net>
2165
2166         * BufferView.[Ch]:
2167         * BufferView_pimpl.C:
2168         * PosIterator.C:
2169         * bufferview_funcs.C:
2170         * cursor.[Ch]:
2171         * cursor_slice.[Ch]:
2172         * factory.C:
2173         * iterators.C:
2174         * lyx_cb.C:
2175         * lyxfind.C:
2176         * lyxfunc.C:
2177         * lyxtext.h:
2178         * rowpainter.C:
2179         * text.C:
2180         * text2.C:
2181         * text3.C:
2182         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2183           LCursor and mathcursor parts to LCursor and InsetBase.
2184
2185 2004-01-15  André Pönitz  <poenitz@gmx.net>
2186
2187         * cursor_slice.[Ch]: add a few covienience functions
2188
2189         * funcrequest.[Ch]: remove BufferView * member
2190
2191         * BufferView_pimpl.C:
2192         * cursor.C:
2193         * factory.[Ch]:
2194         * lyxfind.[Ch]:
2195         * lyxfunc.C:
2196         * lyxtext.h:
2197         * text3.C:
2198         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2199
2200 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2201
2202         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2203         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2204
2205 2004-01-13  André Pönitz  <poenitz@gmx.net>
2206
2207         * textcursor.[Ch]:
2208         * lyxtext.h: hide cursor and selection anchor behind accessor function
2209
2210         * BufferView.C:
2211         * BufferView_pimpl.[Ch]:
2212         * PosIterator.C:
2213         * bufferview_funcs.C:
2214         * cursor.h:
2215         * lyxfind.C:
2216         * lyxfunc.C:
2217         * text.C:
2218         * text2.C:
2219         * text3.C:
2220         * undo.C: adjust
2221
2222         * cursor.h:
2223         * cursor_slice.[Ch]: some integer type changes for inset unification
2224
2225         * lyxcursor.[hC]: remove, it's CursorSlice now.
2226
2227         * Makefile.am:
2228         * BufferView_pimpl.[Ch]:
2229         * bufferview_funcs.C:
2230         * cursor_slice.C:
2231         * lyxtext.h:
2232         * text.C:
2233         * text2.C:
2234         * text3.C:
2235         * textcursor.[Ch]: adjust
2236
2237 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2238
2239         * text2.C (undoSpan): add and use
2240         * text.C (breakParagraph): use undoSpan (fix bug 578)
2241         * lyxtext.h: adjust
2242
2243 2004-01-08  Angus Leeming  <leeming@lyx.org>
2244
2245         * BufferView_pimpl.C (MenuInsertLyXFile):
2246         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2247         * lyxfunc.C (menuNew, open, doImport):
2248         FileFilterList change to the FileDialog open and save functions.
2249
2250 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2251
2252         * ShareContainer.h: make isEqual and isUnique adaptable
2253
2254         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2255
2256 2004-01-07  Angus Leeming  <leeming@lyx.org>
2257
2258         * LyXAction.C:
2259         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2260
2261         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2262
2263         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2264         functions replacing find, replace and replaceAll.
2265
2266         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2267         LFUN_WORDFIND(FORWARD|BACKWARD).
2268
2269 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2270
2271         * text.C (breakParagraph): remove an outdated #warning
2272
2273 2004-01-07  André Pönitz  <poenitz@gmx.net>
2274
2275         * lyxfind.C: somewhat clearer logic
2276
2277         * text.C: prevent crash in cursorX on unitialized row cache
2278
2279 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2280
2281         * lyxcursor.[Ch] (operator>): add
2282         * textcursor.C (selStart, selEnd): use std::min and std::max
2283
2284 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2285
2286         * Chktex.C: include boost/format.hpp
2287
2288 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2289
2290         * InsetList.C: replace functor MathcIt with adaptable functor
2291         InsetTablePosLess
2292         (insetIterator): modify accordingly
2293
2294         * BranchList.h: move the BranchNamesEqual functor here from...
2295         * BranchList.C: ... to here
2296
2297         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2298         SameName and match.
2299         (add): replace a finding loop with std::find_if.
2300
2301 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2302
2303         * output_docbook.C: moving LatexParam functionality into
2304         .layout files
2305
2306 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2307
2308         * buffer.C: increment format to 229.
2309
2310 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2311
2312         * LaTeXFeatures.C:
2313         * lyx_sty.[Ch]: remove minipageindent_def
2314
2315         * LyXAction.C:
2316         * factory.C:
2317         * lfuns.h:
2318         * lyxfunc.C:
2319         * text3.C: remove LFUN_INSET_MINIPAGE
2320
2321 2003-12-28  Angus Leeming  <leeming@lyx.org>
2322
2323         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2324
2325 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2326
2327         * text2.C (setParagraph): fix off-by-one crash
2328
2329 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2330
2331         * output_docbook.C: header stuff for AGU
2332
2333 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2334
2335         * text2.C (redoCursor): remove
2336         * text.C:
2337         * text3.C:
2338         * BufferView_pimpl.C: remove calls to redoCursor and
2339         setCursor(cursor.par(), cursor.pos()) all around
2340
2341 2003-12-15  Angus Leeming  <leeming@lyx.org>
2342
2343         * buffer.C: up the format to 228.
2344
2345 2003-12-15  André Pönitz  <poenitz@gmx.net>
2346
2347         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2348         slices
2349
2350         * Makefile.am:
2351
2352         * BufferView_pimpl.C:
2353         * cursor.[Ch]:
2354         * lyxcursor.[Ch]:
2355         * rowpainter.[Ch]:
2356         * lyxtext.h:
2357         * text.C:
2358         * text2.C:
2359         * text3.C: adjust
2360
2361 2003-12-15  Angus Leeming  <leeming@lyx.org>
2362
2363         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2364         than getFromGUIName to manipulate the color.
2365
2366 2003-12-14  Angus Leeming  <leeming@lyx.org>
2367
2368         * BranchList.[Ch]: minimize the API.
2369         (Branch::getBranch, getColor): now return a 'const &'.
2370         (Branch::setSelected) now returns a bool set to true if the
2371         selection status changes.
2372         (BranchList::clear, size, getColor, setColor, setSelected,
2373         allBranches, allSelected, separator): removed.
2374         (BranchList::find): new functions, returning the Branch with
2375         the given name.
2376         (BranchList::add, remove): return a bool indicating that
2377         the operation was successful.
2378
2379         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2380         new InsetBranch::isBranchSlected member function.
2381
2382         * LColor.[Ch]: mimimize the API.
2383         (fill): renamed as addColor and made private.
2384         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2385         versions of these functions taking a string arg have been removed.
2386
2387         * bufferparams.C (readToken):
2388         * lyxfunc.C (dispatch):
2389         * lyxrc.C (read): changes due to the altered BranchList and
2390         LColor APIs.
2391
2392         * factory.C (createInset, readInset): changes due to altered
2393         InsetBranch c-tor.
2394
2395 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2396
2397         * factory.C:
2398         * lyxfunc.C: remove insetminipage. "minipage-insert"
2399         now produces a frameless minipage box inset.
2400
2401 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2402
2403         * textcursor.[Ch] (selStart,selEnd): add new methods
2404         remove selection::start, end, use LyXCursor::operator<
2405         * lyxcursor.[Ch] (operator<): add
2406         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2407         * BufferView.[Ch] (unsetXSel): add
2408         * text2.C (clearSelection): use unsetXSel,adjust
2409         * text.C: adjust
2410         * text3.C: adjust
2411         * rowpainter.C: adjust
2412         * bufferview_funcs.C (put_selection_at): adjust
2413
2414 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2415
2416         * BufferView_pimpl.C: small coord. correction
2417
2418 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2419
2420         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2421         dragging over the splash screen.
2422
2423 2003-12-11  Angus Leeming  <leeming@lyx.org>
2424
2425         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2426         as it is now handled in LyXText::dispatch.
2427
2428         * text3.C (doInsertInset): remove a level of nesting.
2429
2430 2003-12-11  Angus Leeming  <leeming@lyx.org>
2431
2432         * factory.C (createInset): changes due to the changed interface to
2433         InsetCommandMailer::string2params.
2434
2435 2003-12-10  Angus Leeming  <leeming@lyx.org>
2436
2437         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2438         'dialog-show-new-inset <inset name>'
2439
2440 2003-12-10  Angus Leeming  <leeming@lyx.org>
2441
2442         * buffer.C: up the format to 227.
2443
2444         * factory.C: the box inset is now identified simply by 'Box'.
2445
2446 2003-12-10  Angus Leeming  <leeming@lyx.org>
2447
2448         * buffer.C: up the format to 226.
2449
2450         * factory.C: the note inset is now identified simply by 'Note'.
2451
2452 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2453
2454         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2455         when a pit is enough. Standarize a couple of loops.
2456
2457 2003-12-05  Angus Leeming  <leeming@lyx.org>
2458
2459         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2460         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2461         data to the re-worked "log" dialog.
2462
2463 2003-12-03  André Pönitz  <poenitz@gmx.net>
2464
2465         * PosIterator.C:
2466         * iterators.C:
2467         * lyxtext.h:
2468         * output_latex.C:
2469         * paragraph_funcs.C:
2470         * text.C:
2471         * text2.C: use Inset::getText instead of Inset::getParagraph
2472
2473 2003-12-03  André Pönitz  <poenitz@gmx.net>
2474
2475         * buffer.[Ch]:
2476         * lyxtext.h:
2477         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2478         InsetText::read() as LyXText::read()
2479
2480 2003-12-02  Angus Leeming  <leeming@lyx.org>
2481
2482         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2483         type. Add a comment in the implementation that the function uses
2484         the stream's bad() function rather than fail() as the std::streams
2485         would do.
2486
2487 2003-12-02  André Pönitz  <poenitz@gmx.net>
2488
2489         * lyxlex.[Ch]: make interface more similar to std::stream
2490
2491         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2492
2493 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2494
2495         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2496
2497 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2498
2499         * vspace.[Ch]: remove VSpace::NONE
2500
2501 2003-12-01  André Pönitz  <poenitz@gmx.net>
2502
2503         * buffer.[Ch]:
2504         * lyxtext.h: move ParagraphList member to LyXText
2505         rename LyXText::ownerParagraphs to LyXText::paragraph
2506
2507         * CutAndPaste.C:
2508         * bufferview_funcs.C:
2509         * iterators.[Ch]:
2510         * lyx_cb.C:
2511         * paragraph.C:
2512         * rowpainter.C:
2513         * tabular.C:
2514         * text.C:
2515         * text2.C:
2516         * text3.C: adjust
2517
2518         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2519
2520         * undo.C: fix cursor positioning
2521
2522 2003-12-01  John Levon  <levon@movementarian.org>
2523
2524         * BufferView_pimpl.C: fix a crash on exit with
2525         a buffer open
2526
2527 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2528
2529         * BranchList.C: fix setSelected() method.
2530
2531 2003-11-28  André Pönitz  <poenitz@gmx.net>
2532
2533         * ParagraphParameters.[Ch]:
2534         * ParameterStruct.h: remove space above/below from Paragraph to
2535          InsetVSpace
2536
2537         * BufferView_pimpl.C:
2538         * factory.C:
2539         * lyxfunc.C:
2540         * lyxtext.h:
2541         * output_latex.C:
2542         * paragraph.C:
2543         * paragraph_funcs.C:
2544         * rowpainter.[Ch]:
2545         * text.C:
2546         * text2.C:
2547         * text3.C: adjust
2548
2549 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2550
2551         * factory.C: Syntax change for CharStyles
2552
2553 2003-11-28  André Pönitz  <poenitz@gmx.net>
2554
2555         * BufferView.[Ch]:
2556         * BufferView.[Ch]:
2557         * buffer.[Ch]:
2558         * buffer.[Ch]: move LyXText member
2559
2560 2003-11-28  André Pönitz  <poenitz@gmx.net>
2561
2562         * BufferView.[Ch]: make LyXText * text a private member
2563
2564         * BufferView_pimpl.C:
2565         * cursor.C:
2566         * iterators.C:
2567         * lyx_cb.C:
2568         * lyxfind.C:
2569         * lyxtext.h:
2570         * rowpainter.[Ch]:
2571         * text.C:
2572         * text2.C:
2573         * undo.C: adjust
2574
2575         * output_plaintext.C: cleanup
2576
2577 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2578
2579         * buffer.C:
2580         * lyxtextclass.[Ch]: parametrize SGML document header
2581
2582 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2583
2584         * converter.[Ch]:
2585         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2586         getFlavor().
2587
2588 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2589
2590         * text2.C (setFont): rework using PosIterator (no more recursive)
2591         (setCharFont): no more needed
2592         (setLayout): no more selection cursors fiddling (done by redoCursor)
2593         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2594         destroy remaining ones)
2595
2596 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2597
2598         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2599         * lyxtext.h: ditto
2600         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2601         selection cursors
2602         * lyxfunc.C: adjust
2603         * text3.C: adjust + re-allow multi par depth changes
2604         * textcursor.C: simplify a bit
2605
2606 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2607
2608         * src/buffer.C:
2609         * src/lyxlayout.C:
2610         * src/lyxlayout.h:
2611         * src/lyxtext.h:
2612         * src/output_docbook.C:
2613         * src/output_latex.C:
2614         * src/paragraph.C:
2615         * src/paragraph.h:
2616         * src/sgml.C:
2617         * src/sgml.h:
2618         * src/text2.C: Introducing a number of tags parametrizing various
2619         XML formats that we may want to support
2620
2621 2003-11-25  André Pönitz  <poenitz@gmx.net>
2622
2623         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2624
2625         * lyxtext.h (leftMargin/rightMargin): simplify interface
2626
2627         * rowpainter.C:
2628         * text.C:
2629         * text2.C:
2630         * text3.C: adjust
2631
2632 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2633
2634         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2635         master file to any child files. Fixes bug 546.
2636
2637 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2638
2639         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2640
2641 2003-11-24  André Pönitz  <poenitz@gmx.net>
2642
2643         * rowpainter.C: simplification
2644
2645         * text2.C (updateCounters): remove call to redoParagraph on
2646         changed labels as this is far too expensive.
2647
2648 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2649
2650         * converter.C (convert): fix a crash: this function gets
2651         called with buffer == 0 from importer code.
2652
2653 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2654
2655         * text3.C (cursorPrevious): make sure that we do not compare
2656         iterators form different containers.
2657         (cursorNext): ditto
2658
2659         * rowpainter.C (paintSelection): make sure that we do not compare
2660         iterators from different containers.
2661
2662         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2663         iterators from different ParagraphList containers.
2664         [NEXT] ditto
2665
2666         * text2.C (LyXText): change order of initialization slightly
2667         (operator=): new function. copy all variables except cache_par_
2668         (moveUp): make sure that we do not compare iterators from
2669         different ParagraphList constainers.
2670         (moveDown): ditto
2671
2672         * text.C (firstPar): new function
2673         (lastPar): new function
2674         (endPar): new function
2675
2676         * lyxtext.h: move things around and group public functions, public
2677         variables, private functions, private variables
2678
2679 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2680
2681         * factory.C: change call to InsetERT constructor to avoid
2682         additional invocation of method status
2683         * text2.C (toggleInset): remove redundant update() call
2684         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2685         instead of a Bufferview pointer
2686
2687 2003-11-21  André Pönitz  <poenitz@gmx.net>
2688
2689         * rowpainter.C: simplification
2690
2691 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2692
2693         * text3.C (dispatch): make possible to extend a word/row selection
2694         with the mouse
2695
2696 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2697
2698         * lyxtext.h: x0_,y0_ -> xo_,yo_
2699         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2700         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2701         * rowpainter.C (paintRows): paint full paragraphs
2702
2703 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2704
2705         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2706         screen coordinates)
2707
2708 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2709
2710         * lyxtext.h: add x0_, y0_
2711         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2712         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2713
2714 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2715
2716         * text2.C (setCursorIntern): move the x_target update here *
2717         * text3.C: change some bv() to true/false in calls to
2718         cursorUp/Down/Right/Left
2719         * cursor.C: use helper function.
2720
2721 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2722
2723         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2724         * paragraph_funcs.[Ch]: correct comment
2725         * rowpainter.C: do not paint selections away from bv->cursor()
2726         Fix a long standing selection painting bug.
2727         * text3.C: generalize mouse-selection code to LyXTexts other that
2728         top one
2729         * textcursor.C: do not use y coords if we can use par offsets
2730
2731 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2732
2733         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2734         cursor position after e.g. inset insert)
2735
2736 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2737
2738         * lyxfind.C (replace): adjust to locking removal + some
2739         code simplification
2740
2741 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2742
2743         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2744         of the path
2745
2746 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2747
2748         * lyxlayout.[Ch]:
2749         * output_docbook.C: XML sanitation: new layout
2750         parameters InnerTag and CommandDepth
2751
2752 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2753
2754         * BufferView_pimpl.C:
2755         * factory.C:
2756         * text3.C: Fix the insertion and modification of button-style
2757         insets
2758
2759 2003-11-13  André Pönitz  <poenitz@gmx.net>
2760
2761         * InsetList.[Ch]: remove deleteLyXText
2762
2763         * paragraph.[Ch]: cache beginOfBody position
2764
2765         * Bidi.C:
2766         * text.C:
2767         * text2.C:
2768         * text3.C: remove superfluous update() calls
2769
2770         * vspace.C: cleanup
2771
2772 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2773
2774         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2775         * BufferView.C (fitLockedInsetCursor): remove
2776         * cursor.[Ch] (getDim): add
2777         * text.C (getRowNearY): add faster version
2778         * text3.C: remove some update calls
2779
2780 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2781
2782         * LaTeXFeatures.C:
2783         * LyXAction.C:
2784         * MenuBackend.C:
2785         * MenuBackend.h:
2786         * dispatchresult.h:
2787         * factory.C:
2788         * lfuns.h:
2789         * lyxfunc.C:
2790         * lyxtextclass.C:
2791         * lyxtextclass.h:
2792         * text3.C: The Character Style /XML short element patch.
2793
2794 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2795
2796         * text3.C:
2797         * factory.C: Small step to solving 'unable to insert some insets'
2798         problem
2799
2800 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2801
2802         * cursor.[Ch] (updatePos): new function for updating the y
2803         position of the tip inset
2804         * bufferview_funcs.C (put_selection_at):
2805         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2806
2807 2003-11-11  André Pönitz  <poenitz@gmx.net>
2808
2809         * text.C: remove big comment on invalid Paragraph pointers as it is
2810         not valid anymore
2811
2812 2003-11-11  André Pönitz  <poenitz@gmx.net>
2813
2814         * text_funcs.[Ch]: merge with ...
2815
2816         * text.C: ... this
2817
2818         * lyxtext.h:
2819         * text2.C:
2820         * text3.C: adjust
2821
2822         * Makefile.am: remove text_funcs.[Ch]
2823
2824 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2825
2826         * cursor.C (getPos): return absolute cached y coord
2827
2828         * BufferView_pimpl.C (fitCursor): new simplistic code
2829         (workAreaDispatch): add a fitCursor call
2830
2831 2003-11-10  André Pönitz  <poenitz@gmx.net>
2832
2833         * BufferView.[Ch]:
2834         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2835
2836 2003-11-10  André Pönitz  <poenitz@gmx.net>
2837
2838         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2839         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2840         indicate that the cursor needs to leave an inset
2841
2842         * lyxtext.h: remove inset locking
2843
2844         * cursor.[Ch]: re-implement functionality provided by inset locking
2845
2846         * BufferView.[Ch]:
2847         * BufferView_pimpl.[Ch]:
2848         * LyXAction.C:
2849         * bufferview_funcs.[Ch]:
2850         * factory.C:
2851         * funcrequest.[Ch]:
2852         * iterators.C:
2853         * lyx_cb.C:
2854         * lyxfind.C:
2855         * lyxfunc.C:
2856         * text.C:
2857         * text2.C:
2858         * text3.C:
2859         * undo.C: adjust
2860
2861 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2862
2863         * PosIterator.[Ch]: replace the stack with a vector, add inset
2864         accesor
2865         * iterators.[C]: adjust
2866
2867 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2868
2869         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2870         replaced
2871         * paragraph_funcs.C (readParToken): put the correct id in the
2872         error item, not the id of the top paragraph
2873
2874 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2875
2876         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2877         * bufferview_funcs.C (put_selection_at): use the above
2878
2879 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2880
2881         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2882
2883 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2884
2885         * output_linuxdoc.h:
2886         * output_plaintext.h:
2887         * output.h:
2888         * output_docbook.h: add #include statements
2889
2890 2003-11-05  José Matos  <jamatos@lyx.org>
2891
2892         * output_docbook.[Ch]:
2893         * output_latex.[Ch]:
2894         * output_linuxdoc.[Ch]:
2895         * output_plaintext.[Ch]: New files for output formats.
2896         * output.[Ch]: New file for helper functions.
2897
2898         * buffer.[Ch]:
2899         * paragraph_funcs.[Ch]: output functions moved to new files.
2900
2901         * outputparams.h: rename of latexrunparams.h
2902
2903         * LaTeX.[Ch]:
2904         * buffer.[Ch]:
2905         * bufferlist.[Ch]:
2906         * converter.[Ch]:
2907         * exporter.C:
2908         * paragraph.[Ch]:
2909         * paragraph_funcs.[Ch]:
2910         * paragraph_pimpl.[Ch]:
2911         * tabular.[Ch]: rename ascii to plaintext
2912         and LatexRunParams to OutputParams.
2913
2914 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2915
2916         * iterators.[Ch] (text): require bv argument
2917         * undo.C (recordUndo):
2918         * lyxfunc.C (dispatch):
2919         * bufferview_funcs.C (put_selection_at): adjust
2920
2921 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2922
2923         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2924
2925 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2926
2927         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2928         nestings
2929
2930 2003-11-04  André Pönitz  <poenitz@gmx.net>
2931
2932         * cursor.[Ch]: restructure
2933
2934         * BufferView.[Ch]:
2935         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2936
2937         * iterators.[Ch] (asCursor): remove
2938
2939         * lfuns.h: remove LFUN_INSET_EDIT
2940
2941         * lyxfunc.C:
2942         * tabular.C:
2943         * text.C:
2944         * text2.C:
2945         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2946
2947 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2948
2949         * lyxfind.[Ch]: complete overhaul
2950         * BufferView_pimpl.C:
2951         * lyxfunc.C: adjust
2952         * paragraph.[Ch] (insert): add
2953
2954 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2955
2956         * BufferView.[Ch]:
2957         * lyxtext.h:
2958         * text.C: remove dead spellcheck code
2959
2960 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2961
2962         * dispatchresult.h: add a val setter
2963
2964         * cursor.C (dispatch): use a tempvar for data_[i]
2965
2966 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2967
2968         * PosIterator.[Ch]: compile fix
2969
2970 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2971
2972         * text.C (cursorPar): deactivate the cursor cache
2973
2974 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2975
2976         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2977
2978 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2979
2980         * text3.C (dispatch): adjust for new DisptchResult semantics.
2981
2982         * lyxfunc.C (dispatch): handle update when return from
2983         Cursor::dispatch, adjust for new DispatchResult semantics.
2984
2985         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2986         DispatchResult(true) mean to not update. Add class functions for
2987         setting dispatched and update, as well as reading.
2988
2989         * cursor.C (dispatch): don't handle update here
2990
2991 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2992
2993         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2994         * trans_mgr.C: adjust
2995
2996         * paragraph_funcs.C (readParToken): exception safety
2997
2998         * lyxvc.h: store the vcs pointer in a scoped_ptr
2999         * lyxvc.C: adjust
3000
3001         * lyxsocket.C (serverCallback): exception safety
3002
3003         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3004
3005         * ispell.C (clone): make it return a auto_ptr
3006
3007         * factory.C (createInset): exception safety
3008         (readInset): exception safety
3009
3010         * bufferlist.C (newBuffer): exception safety
3011
3012         * Thesaurus.C (Thesaurus): use initialization for aik_
3013
3014         * MenuBackend.C (expandToc): exception safety.
3015
3016 2003-11-03  André Pönitz  <poenitz@gmx.net>
3017
3018         * buffer.C:
3019         * buffer.h:
3020         * bufferview_funcs.C: remove getInsetFromId()
3021
3022         * lyxcursor.[Ch]:
3023         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3024
3025         * lyxfunc.C:
3026         * text2.C:
3027         * text3.C: adjust
3028
3029 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3030
3031         * PosIterator.C (distance, advance): new
3032         * bufferview_funcs.[Ch] (put_selection_at): new
3033         * iterators.[Ch] (lockPath): new
3034
3035 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3036
3037         * iterators.[Ch] (asPosIterator): added
3038         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3039         * PosIterator.[Ch]: added
3040
3041 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3042
3043         * text3.C:
3044         * lyxfunc.C:
3045         * cursor.C (dispatch):
3046         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3047
3048         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3049         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3050         contructor, add a class function dispatched. Remove operator>=
3051
3052 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3053
3054         * debug.C: only use the default constructor for debugstream
3055         (lyxerr) here.
3056
3057         * main.C (main): include debug.h and setup the lyxerr streambuf
3058         here.
3059
3060 2003-10-31  José Matos  <jamatos@lyx.org>
3061
3062         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3063
3064         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3065         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3066         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3067         * paragraph_pimpl.C (simpleTeXSpecialC):
3068         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3069         add LatexRunParams argument.
3070
3071         * exporter.C (Export): change call accordingly.
3072
3073         * latexrunparams.h: add new member to take care of the other backends.
3074 2003-10-30  José Matos  <jamatos@lyx.org>
3075
3076         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3077         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3078         factorise code for paragraph output.
3079         * buffer.[Ch]:
3080         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3081         move functions.
3082
3083 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3084
3085         * text3.C (dispatch):
3086         * lyxfunc.C (dispatch):
3087         * cursor.C (dispatch):
3088         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3089
3090         * dispatchresult.h: make the dispatch_result_t ctor explicit
3091
3092 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3093
3094         * sgml.[Ch]:
3095         * buffer.C: small refactoring of docbook stuff
3096
3097 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3098
3099         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3100         meaning.
3101
3102 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3103
3104         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3105         operator dispatch_result_t, and operators for == != and >=
3106
3107         * cursor.C (dispatch): adjust for operator dispatch_result_t
3108         removal. comment out call to update
3109
3110         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3111
3112 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3113
3114         * text3.C:
3115         * text2.C:
3116         * text.C:
3117         * lyxtext.h:
3118         * lyxfunc.C:
3119         * cursor.C:
3120         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3121         (dispatch):
3122
3123         * dispatchresult.h: new file, DispatchResult broken out of
3124         insets/insetbase.h
3125
3126         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3127
3128 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3129
3130         * text.C (rowBreakPoint): put a hack inside #if 0
3131
3132 2003-10-28  André Pönitz  <poenitz@gmx.net>
3133
3134         * lyxtext.h:
3135         * metricsinfo.C:
3136         * paragraph_funcs.C:
3137         * rowpainter.C:
3138         * text.C:
3139         * text2.C: general cleanup (lots of small stuff)
3140
3141 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3142
3143         * text2.C (cursorEnd): simple fix to the "end key goes to one
3144         before the end on last row" bug
3145
3146 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3147
3148         * text.C (backspace): fix the "zombie characters"
3149
3150 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3151
3152         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3153
3154 2003-10-27  André Pönitz  <poenitz@gmx.net>
3155
3156         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3157
3158         * factory.C: handle new InsetPagebreak, InsetLine
3159
3160         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3161         and move handling into new InsetPagebreak, InsetLine
3162
3163         * BufferView_pimpl.C:
3164         * LyXAction.C:
3165         * ParagraphParameters.C:
3166         * ParameterStruct.h:
3167         * lyxfunc.C:
3168         * lyxtext.h:
3169         * paragraph.C:
3170         * paragraph.h:
3171         * paragraph_funcs.C:
3172         * paragraph_pimpl.C:
3173         * rowpainter.C:
3174         * text.C:
3175         * text2.C:
3176         * text3.C: adjust
3177
3178 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3179
3180         * text.C:
3181         * lyxrow_funcs.[Ch]:
3182         * Bidi.C:
3183         * paragraph.C:
3184         * lyxtext.h:
3185         * rowpainter.C:
3186         * text2.C:
3187         * text3.C: remove lastPos uses in favour of Row::endpos
3188
3189 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3190
3191         * undo.C (performUndoOrRedo): fix two crashes by setting a
3192         cursor by hand and reordering some calls. Use bv->lockInset instead
3193         of inset->edit because the latter loses cursor information
3194
3195 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3196
3197         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3198         by Martin
3199         (rowBreakPoint): fix width. change point to point + 1.
3200         Add a missing check.
3201
3202 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3203
3204         * MenuBackend.C:
3205         * lyxfunc.C: fix (at least partly) the problems
3206         with the Nav menu and headers inside branch insets
3207         reported by Kayvan
3208
3209 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3210
3211         * paragraph.C (getChar): add strong asserts
3212
3213         * lyxrow_funcs.C (lastPos): remove hideous hack
3214
3215         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3216         (fill): adjust to that (avoid an infinite loop)
3217
3218 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3219
3220         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3221
3222 2003-10-23  André Pönitz  <poenitz@gmx.net>
3223
3224         * RowList_fwd.h: change list<> to vector<> to gain speed
3225         after suggestion from Alfredo
3226
3227 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3228
3229         * lyxtext.h: move the bidi stuff from here...
3230         * text.C: and here
3231         * text2.C: and here
3232         * Bidi.[Ch]: ... to here
3233
3234 2003-10-23  André Pönitz  <poenitz@gmx.net>
3235
3236         * lyxtext.h:
3237         * text.C (isLastRow, isFirstRow): new functions
3238
3239         * paragraph.h: new width cache member
3240
3241         * rowpainter.C: replace RowList::iterator with Row & where possible
3242
3243         * lyxfunc.C: replace several view()->text with a single call
3244
3245         * toc.C: fix 'unused' warning
3246
3247 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3248
3249         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3250         when woring with stream::pos_type
3251         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3252
3253 2003-10-22  André Pönitz  <poenitz@gmx.net>
3254
3255         * lyxtext.h:
3256         * text.C: use Row & instead of RowList::iterator
3257
3258         * lyxrow.h: rename end() to endpos()
3259
3260         * rowpainter.C:
3261         * text.C:
3262         * text2.C: adjust
3263
3264 2003-10-22  Angus Leeming  <leeming@lyx.org>
3265
3266         * buffer.[Ch] (fully_loaded): new member function, returning true
3267         only when the file has been loaded fully.
3268         Used to prevent the premature generation of previews and by the
3269         citation inset to prevent computation of the natbib-style label.
3270
3271         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3272         templates are all set up.
3273
3274         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3275
3276 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3277
3278         * text.C: fixed an "oops" in the "is a bit silly"
3279         bug fix
3280
3281 2003-10-21  André Pönitz  <poenitz@gmx.net>
3282
3283         * FuncStatus.[Ch]: small stuff, whitespace
3284
3285         * lyxfont.[Ch]: operator<<() for debug reasons
3286
3287         * lyxfunc.C:
3288         * lyxrow_funcs.C:
3289         * lyxtext.h: whitespace, spelling
3290
3291         * paragraph.C: naming of variables
3292
3293         * text.C:
3294         * text2.C: small stuff
3295
3296
3297 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3298
3299         * text.C: (1) finish off the inset display() work;
3300         (2) fix the "is a bit silly" bug (accessing char
3301         past end of par).
3302
3303 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3304
3305         * text.C: re-introduce display() for insets, fixing the
3306         various bugs (stretch of line above, math inset
3307         positioning, ...)
3308
3309 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3310
3311         * text.C (rightMargin): remove spurious semicolon
3312
3313         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3314         1415)
3315
3316 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3317
3318         * text3.C: fix one crash due to wrong cursor def
3319
3320 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3321
3322         * vc-backend.C (scanMaster): make the regex static
3323
3324         * LaTeX.C (scanAuxFile): make the regexs static
3325
3326         * text3.C (doInsertInset, dispatch, dispatch):
3327         * text2.C (cursorUp, cursorDown):
3328         * text.C (selectNextWordToSpellcheck):
3329         * BufferView_pimpl.C (dispatch):
3330         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3331
3332 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3333
3334         * lyxsocket.C: include <cerrno>
3335
3336 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3337
3338         * lyxfunc.C (dispatch): remove textcache stuff
3339
3340         * bufferlist.C (release): remove textcache stuff
3341         (closeAll): ditto
3342
3343         * TextCache.C: delete file
3344         * TextCache.h: delete file
3345
3346         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3347
3348         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3349         delete of the bv_->text.
3350         (resizeCurrentBuffer): remove texcache stuff
3351         (workAreaResize): ditto
3352
3353 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3354
3355         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3356         action.
3357
3358 2003-10-16  André Pönitz  <poenitz@gmx.net>
3359
3360         * lyxrow.[Ch]:
3361         * paragraph.h:
3362         * rowpainter.C:
3363         * text.C:
3364         * text2.C:
3365         * text3.C: speed up by storing y positions per paragraph plus per-row
3366         offset instead of having a 'full' y position in the row.
3367
3368 2003-10-15  André Pönitz  <poenitz@gmx.net>
3369
3370         * iterators.[Ch]:
3371         * iterators.[Ch]:
3372         * undo.[Ch]: make undo aware of inner insets
3373
3374 2003-10-14  Angus Leeming  <leeming@lyx.org>
3375
3376         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3377         static member functions LyX::ref() and LyX::cref.
3378         (lastfiles): new accessor functions for the new lastfiles_ member var.
3379         (addLyXView, views_): add a new LyXView to the list of views_.
3380         (updateInset): loop over all LyXViews to call their own updateInset
3381         member function, returning a pointer to the Buffer owning the inset.
3382
3383         * BufferView_pimpl.C (loadLyXFile):
3384         * MenuBackend.C (expandLastfiles):
3385         * bufferlist.C (MenuWrite, QuitLyX):
3386         lastfiles is no longer a global variable.
3387         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3388
3389         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3390         static function. Access through LyX::cref().emergencyCleanup().
3391
3392 2003-10-14  André Pönitz  <poenitz@gmx.net>
3393
3394         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3395
3396         * undo.[Ch]: restoring part of 'undo in insets'
3397
3398         * Makefile.am:
3399         * undo_funcs.[Ch]: merge with undo.[Ch]
3400
3401         * tabular.C: small cleansing stuff
3402
3403 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3404
3405         * paragraph_funcs.C (readParToken): report unknown insets as error
3406         boxes. Use the outer paragraph as location (also for unknown
3407         tokens).
3408
3409         * factory.C (readInset): do not abort on reading an unknown inset.
3410         Eat it and return 0.
3411
3412 2003-10-13  Angus Leeming  <leeming@lyx.org>
3413
3414         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3415
3416         * lyxrc.C: displayTranslator is now a function,
3417         declared in GraphicsTypes.h.
3418
3419 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3420
3421         * format.C: new placeholder $$a to pass the socket address.
3422
3423         * bufferlist.[Ch]: new function getBufferFromTmp.
3424
3425         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3426           files in the temporary dir.
3427
3428 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3429
3430         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3431
3432         * Makefile.am: add lyxsocket.[Ch].
3433
3434         * lyx_main.C (error_handler): handle SIGPIPE.
3435
3436 2003-10-13  André Pönitz  <poenitz@gmx.net>
3437
3438         * BufferView_pimpl.C:
3439         * lyxtext.h:
3440         * text.C:
3441         * text2.C:
3442         * text3.C:
3443         * undo_funcs.[Ch]: use paroffset_type instead of
3444           ParagraphList::iterators to prevent multiple conversion
3445           (and get a more robust interface)
3446
3447 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3448
3449         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3450         * lyxtext.h: ditto
3451         * text3.C (dispatch): ditto
3452
3453 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3454
3455         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3456         move the onlyfile, use onlyfile instead of foundfile in a couple
3457         of places.
3458
3459         * DepTable.C (update): flush the error stream a bit more
3460
3461 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3462
3463         * lyxserver.C (callback): adjust
3464
3465         * lyxfunc.C (getStatus): add a missing brace in commented code
3466         (ensureBufferClean): reindent
3467         (dispatch): delete version taking a string
3468
3469 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3470
3471         * LaTeX.C (deplog): move found file handlig from here...
3472         (handleFoundFile): .. to new function here.
3473         (deplog): make sure to discover several files mentioned on the
3474         same log line.
3475
3476 2003-10-10  André Pönitz  <poenitz@gmx.net>
3477
3478         * lyxfunc.C:
3479         * lyxtext.h:
3480         * tabular.C:
3481         * text.C:
3482         * text2.C:
3483         * text3.C: fix some of the tabular crashes
3484
3485 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3486
3487         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3488
3489         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3490
3491 2003-10-09  André Pönitz  <poenitz@gmx.net>
3492
3493         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3494
3495         * BufferView.C:
3496         * BufferView_pimpl.C:
3497         * bufferview_funcs.C:
3498         * lyx_cb.C:
3499         * lyxcursor.C:
3500         * lyxfind.C:
3501         * lyxfunc.C:
3502         * lyxtext.h:
3503         * text.C:
3504         * text2.C:
3505         * text3.C:
3506         * text_funcs.[Ch]:
3507         * textcursor.[Ch]:
3508         * undo_funcs.C: adjust
3509
3510 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3511
3512         * text2.C (incrementItemDepth): new function, use a backtracking
3513         algorithm to discover the correct item depth.
3514         (resetEnumCounterIfNeeded): new function, use a backtracking
3515         algorithm to discover if counter reset is needed.
3516         (setCounter): use them. Simplify a bit. Add different labels for
3517         different item depths for itemize.
3518
3519         * paragraph.C (Paragraph): remove initialization of enumdepth
3520         (operator=): ditto
3521
3522         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3523         enumerate and itemize. Change the type of itemdepth to signed char.
3524
3525 2003-10-08  André Pönitz  <poenitz@gmx.net>
3526
3527         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3528           thing assignable.
3529         * text.C:
3530         * text2.C: adjust
3531
3532         * tabular.[Ch]: fix crash after 'row-insert'
3533
3534 2003-10-08  Angus Leeming  <leeming@lyx.org>
3535
3536         Fix doxygen warnings.
3537
3538         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3539         Remove CutAndPaste:: prefix from header file declaration.
3540
3541         * LColor.h (fill): remove LColor:: prefix from declaration.
3542
3543         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3544         use lyx::depth_type rather than Paragraph::depth_type so that
3545         header file and .C file match.
3546
3547         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3548
3549         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3550         * aspell.C: \file aspell_local.C -> \file aspell.C
3551         * gettext.C: \file gettext.C -> \file src/gettext.C
3552         * gettext.h: \file gettext.h -> \file src/gettext.h
3553         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3554         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3555         * text.C: \file text.C -> \file src/text.C
3556
3557         * toc.C: move comment so that doxygen is not confused.
3558
3559 2003-10-07  Angus Leeming  <leeming@lyx.org>
3560
3561         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3562
3563 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3564
3565         * aspell.C:
3566         * aspell_local.h: add forgotten std::string's.
3567
3568 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3569
3570         * LaTeXFeatures.C:
3571         * LyXAction.C:
3572         * factory.C:
3573         * lfuns.h:
3574         * lyxfunc.C:
3575         * text3.C: The Box patch. Fancybox support, minipage, parbox
3576
3577 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3578
3579         * CutAndPaste.h:
3580         * DepTable.h:
3581         * FloatList.h:
3582         * LaTeXFeatures.h:
3583         * ParagraphParameters.h:
3584         * TextCache.h:
3585         * Thesaurus.h:
3586         * bufferlist.h:
3587         * exporter.h:
3588         * importer.h:
3589         * lastfiles.h:
3590         * lyxfind.h:
3591         * lyxfont.h:
3592         * lyxlex.h:
3593         * lyxtextclasslist.h:
3594         * messages.h:
3595         * paragraph.h:
3596         * paragraph_pimpl.C:
3597         * textcursor.h: add <string> and other small fixes to make Lars'
3598         std::string patch compile with STLport.
3599
3600 2003-10-06  Angus Leeming  <leeming@lyx.org>
3601
3602         * LColor.h: Add missing #include <string>.
3603
3604 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3605
3606         * All most all file in all subdirs: Make <string> be the prefered
3607         way of getting to std::string, add using declarations.
3608
3609 2003-10-06  André Pönitz  <poenitz@gmx.net>
3610
3611         * metricsinfo.C: initialize LyXFont before changing attribute.
3612         (fixes the 'math in \emph is upright' bug)
3613
3614 2003-10-06  André Pönitz  <poenitz@gmx.net>
3615
3616         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3617
3618 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3619
3620         * graph.C:
3621         * paragraph_pimpl.C: Small fixes to build using STLport
3622
3623 2003-10-02  André Pönitz  <poenitz@gmx.net>
3624
3625         * lyxfunc.C:
3626         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3627
3628 2003-10-01  André Pönitz  <poenitz@gmx.net>
3629
3630         * factory.C: assert early
3631
3632 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3633
3634         * lyx_main.C: remove the global debug object
3635
3636         * debug.h: adjust for new debugstream
3637
3638         * debug.C: adjust for new debugstream and keep the global debug
3639         object here.
3640
3641 2003-09-22  Angus Leeming  <leeming@lyx.org>
3642
3643         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3644         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3645         an incomplete class LyXFont.
3646
3647 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3648
3649         * factory.C: bug fix in branches
3650
3651 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3652
3653         * lyxfunc.C (processKeySym): adjust
3654         (dispatch): adjust
3655         (dispatch): change arg name from ev to func, adjust
3656         (sendDispatchMessage): ditto
3657
3658         * lyx_main.C (defaultKeyBindings): adjust keybindings
3659         (deadKeyBindings): ditto
3660
3661         * kbsequence.C (addkey): return a FuncRequest
3662
3663         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3664
3665         * kbmap.C (bind): take a FuncRequest as arg, adjust
3666         (read): adjust
3667         (lookup): adjust
3668         (defkey): change to take a FuncRequest as arg, adjust
3669         (findbinding): take a FuncRequest as arg, adjust.
3670
3671         * funcrequest.h (operator=): added
3672
3673         * funcrequest.C (FuncRequest): default kb_action changed from
3674         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3675
3676         * buffer.C (dispatch): simplify
3677         (dispatch): adjust to take a FuncRequest as arg, adjust
3678
3679         * boost.C (assertion_failed): change assertion message slightly
3680
3681         * ToolbarBackend.C (read): simplify
3682
3683         * MenuBackend.C (binding): adjust call to findbinding, add a
3684         message if no binding is found.
3685         (read): simplify
3686         (expandToc): correct by adding a empty FuncRequest
3687
3688         * LyXAction.C: include <boost/assert.hpp>
3689         (isPseudoAction): delete function
3690         (LookupFunc): change name to...
3691         (lookupFunc): this. change return type to FuncRequest.
3692         (getActionName): take kb_action as arg, simplify
3693         (funcHasFlag): add an assert, simplify.
3694
3695 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3696
3697         * toc.C (action): return a FuncRequest, simplify
3698
3699         * lyxfunc.C (processKeySym): adjust
3700         (getStatus): delete version that takes an int.
3701         (getStatus): adjust
3702         (dispatch): delete version that takes action as int
3703         (dispatch): adjust
3704         (sendDispatchMessage): simplify and adjust
3705
3706         * funcrequest.C (getArg): take unsigned int as arg
3707
3708         * ToolbarBackend.C (read): adjust
3709         (add): delete version that takes func as a string.
3710         (getIton): take a FuncRequest as arg
3711
3712         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3713         action.
3714
3715         * MenuBackend.C (MenuItem): add a new construct that only takes a
3716         Kind, simplify the constructor use for submenus.
3717         (add): adjust
3718         (expandLastfiles): adjust
3719         (expandDocuments): adjust
3720         (expandFormats): adjust
3721         (expandFloatListInsert): adjust
3722         (expandFloatInsert): adjust
3723         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3724
3725         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3726         Remove class variables lyx_pseudo_map and lyx_arg_map
3727
3728         * LyXAction.C (searchActionArg): delete function
3729         (getPseudoAction): delete function
3730         (retrieveActionArg): delete function
3731         (LookupFunc): make it return kb_action, simplify.
3732         (getActionName): simplify
3733
3734         * factory.C (createInset): fix new bug
3735
3736 2003-09-19  Angus Leeming  <leeming@lyx.org>
3737
3738         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3739         masterFilename_ parameter in the include inset.
3740
3741         * factory.C (createInset): changes due to the changes to InsetInclude.
3742
3743 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3744
3745         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3746
3747 2003-09-18  Angus Leeming  <leeming@lyx.org>
3748
3749         * buffer.C:
3750         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3751         Inset::fillWithBibKeys.
3752         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3753
3754 2003-09-18  Angus Leeming  <leeming@lyx.org>
3755
3756         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3757         variables.
3758         (ctor): pass and store a 'Buffer const &'
3759         (buffer): new member function.
3760
3761         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3762         '*this' to the LaTeXFeatures ctor.
3763
3764 2003-09-18  Angus Leeming  <leeming@lyx.org>
3765
3766         * LColor.h:
3767         * lyxfont.C:
3768         * lyxfont.h:
3769         * lyxtext.h:
3770         * text.C: rename EnumLColor as LColor_color.
3771
3772 2003-09-18  Angus Leeming  <leeming@lyx.org>
3773
3774         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3775         remove #include "insets/insetbase.h" from cursor.h.
3776
3777 2003-09-18  Angus Leeming  <leeming@lyx.org>
3778
3779         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3780         InsetOld_code to remove #include "inset.h".
3781
3782         * iterators.C: add #include "insets/inset.h"
3783
3784 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3785
3786         * BufferView.C: remove more locking stuff that apparently doesn't
3787         do anything sensible.
3788
3789 2003-09-16  André Pönitz  <poenitz@gmx.net>
3790
3791         * paragraph.[Ch]:
3792         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3793           performance boost.
3794
3795 2003-09-16  Angus Leeming  <leeming@lyx.org>
3796
3797         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3798
3799         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3800         arg/return type.
3801
3802         * paragraph.h: remove #include "lyxfont.h". Forward declare
3803         LyXFont_size.
3804
3805 2003-09-16  Angus Leeming  <leeming@lyx.org>
3806
3807         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3808         of support/textutils.h.
3809         (isWord): move the contents of support/textutils.h's IsWordChar here.
3810
3811         * buffer.C:
3812         * lyxfind.C:
3813         * rowpainter.C:
3814         * text.C:
3815         * text2.C: add #include "paragraph.h".
3816
3817         * rowpainter.C:
3818         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3819
3820 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3821
3822         * main.C:
3823         * lyx_main.C:
3824         * lyx_cb.C:
3825         * buffer.C:
3826         * LaTeX.C: use namespace alias for lyx::support::os
3827
3828 2003-09-16  Angus Leeming  <leeming@lyx.org>
3829
3830         * bufferparams.C:
3831         * bufferview_funcs.C:
3832         * factory.C:
3833         * lyxfunc.C:
3834         * paragraph_pimpl.C:
3835         * rowpainter.C:
3836         * text.C: add #include "LColor.h".
3837
3838 2003-09-16  Angus Leeming  <leeming@lyx.org>
3839
3840         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3841         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3842         return LyXFont &.
3843         Store the FontBits::color variable as an int rather than as an
3844         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3845         file.
3846
3847         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3848         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3849         string calls together.
3850
3851         * lyxrc.C: add #include "LColor.h".
3852
3853 2003-09-15  Angus Leeming  <leeming@lyx.org>
3854
3855         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3856         a cow_ptr.
3857
3858 2003-09-15  Angus Leeming  <leeming@lyx.org>
3859
3860         * LColor.h: add an EnumLColor wrapper for LColor::color.
3861
3862         * lyxfont.[Ch] (color, setColor, realColor):
3863         * lyxtext.h, text.C (backgroundColor):
3864         pass EnumLColor args to/from the functions, rather than LColor::color
3865         ones.
3866
3867         * lyxfont.h:
3868         * lyxtext.h: forward declare EnumLColor.
3869
3870         * lyx_main.C: add #include "LColor.h".
3871
3872 2003-09-15  Angus Leeming  <leeming@lyx.org>
3873
3874         * .cvsignore: add lyx-gtk.
3875
3876 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3877
3878         * Chktex.C
3879         * LaTeX.C
3880         * LaTeXFeatures.C
3881         * ParagraphParameters.C
3882         * Spacing.C
3883         * buffer.C
3884         * bufferparams.C
3885         * bufferview_funcs.C
3886         * chset.C
3887         * counters.C
3888         * funcrequest.C
3889         * lyxfont.C
3890         * lyxgluelength.C
3891         * lyxlength.C
3892         * paragraph.C
3893         * paragraph_funcs.C
3894         * text3.C
3895         * vc-backend.C: remove usage of STRCONV
3896
3897 2003-09-15  Angus Leeming  <leeming@lyx.org>
3898
3899         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3900         explicitly define the color passed to the painter.
3901
3902 2003-09-15  Angus Leeming  <leeming@lyx.org>
3903
3904         * bufferparams.C (BufferParams): reorder member initializers to avoid
3905         compiler warning.
3906
3907 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3908
3909         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3910         * text.C (updateRowPositions): remove an unusual nop
3911
3912 2003-09-12  André Pönitz  <poenitz@gmx.net>
3913
3914         * BufferView_pimpl.C:
3915         * Bullet.C:
3916         * layout.h:
3917         * lyxfunc.C:
3918         * lyxlayout.[Ch]:
3919         * lyxtextclass.C:
3920         * rowpainter.C:
3921         * text.C:
3922         * text2.C:
3923         * Counters.[Ch]: finish the 'automatic counters' job
3924
3925 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3926
3927         * aspell.C: include <boost/assert.cpp> (compile fix)
3928
3929 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3930
3931         * boost.C (assertion_failed): use lyx::support::abort instead of
3932         assert.
3933
3934 2003-09-10  Angus Leeming  <leeming@lyx.org>
3935
3936         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3937         with their _fwd progeny.
3938
3939 2003-09-09  Angus Leeming  <leeming@lyx.org>
3940
3941         134 files throughtout the source tree: replace 'using namespace abc;'
3942         directives with the appropriate 'using abc::xyz;' declarations.
3943
3944 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3945
3946         * boost.C (emergencyCleanup): moved here from LAssert.c
3947         (assertion_failed): new function, called by BOOST_ASSERT
3948
3949         * several files: change Assert to BOOST_ASSERT
3950
3951 2003-09-09  Angus Leeming  <leeming@lyx.org>
3952
3953         * buffer.[Ch]: Add an Impl class and move Buffer's member
3954         variables into it. As a result move several header files out of
3955         buffer.h.
3956
3957         Add header files to lots of .C files all over the tree as a result.
3958
3959 2003-09-09  Angus Leeming  <leeming@lyx.org>
3960
3961         * buffer.[Ch]: make Buffer's member variables private. Add
3962         accessor functions.
3963
3964         Lots of changes all over the tree as a result.
3965
3966 2003-09-08  Angus Leeming  <leeming@lyx.org>
3967
3968         * graph.C: #include <config.h>.
3969
3970 2003-09-08  Angus Leeming  <leeming@lyx.org>
3971
3972         * BranchList.C:
3973         * BufferView.C:
3974         * BufferView_pimpl.C:
3975         * CutAndPaste.C:
3976         * DepTable.C:
3977         * LaTeX.C:
3978         * LaTeXFeatures.C:
3979         * LyXAction.C:
3980         * MenuBackend.C:
3981         * TextCache.C:
3982         * aspell.C:
3983         * buffer.C:
3984         * bufferlist.C:
3985         * changes.C:
3986         * chset.C:
3987         * converter.C:
3988         * counters.C:
3989         * debug.C:
3990         * graph.C:
3991         * ispell.C:
3992         * lyx_cb.C:
3993         * lyxfind.C:
3994         * lyxfunc.C:
3995         * lyxlex_pimpl.C:
3996         * lyxrc.C:
3997         * lyxrow.C:
3998         * paragraph.C:
3999         * rowpainter.C:
4000         * texrow.C:
4001         * text.C:
4002         * text2.C:
4003         * toc.C: remove redundant using directives.
4004
4005 2003-09-07  Angus Leeming  <leeming@lyx.org>
4006
4007         * LaTeXFeatures.h: remove #include "support/types.h".
4008         * ToolbarBackend.h: remove #include <algorithm>.
4009         * changes.h: remove #include <ctime>.
4010         * debug.h: remove #include <iosfwd>.
4011         * graph.h: remove #include "support/std_string.h".
4012         * lyx_main.h: remove #include <csignal>.
4013         * lyxlex_pimpl.h: remove #include <fstream>.
4014         * sgml.h: remove #include <algorithm>, <utility>.
4015         * toc.h: remove #include "support/std_ostream.h".
4016         Add #include <iosfwd>.
4017
4018 2003-09-07  Angus Leeming  <leeming@lyx.org>
4019
4020         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4021
4022         * converter.h: forward declare LatexRunParams.
4023         * encoding.h: remove #include "lyxrc.h".
4024         * lyxtext.h: remove #include "LColor.h".
4025         * lyxtextclass.h: remove #include "support/types.h".
4026         * trans.h: remove #include "tex-accent.h".
4027         * trans_mgr.h: remove #include "tex-accent.h".
4028         * insets/inset.h: remove #include "support/types.h", <vector>.
4029         * insets/insetcollapsable.h: remove #include "LColor.h".
4030         * insets/insetinclude.h: remove #include "dimension.h".
4031         * insets/insetlatexaccent.h: remove #include "dimension.h".
4032         * insets/insetoptarg.h:: remove #include "insettext.h".
4033         * insets/insettext.h: remove #include "dimension.h",
4034         <boost/shared_ptr.hpp>
4035
4036         * insets/renderers.h: add #include "dimension.h".
4037         * insets/updatableinset.h: add #include "support/types.h".
4038
4039         * many .C files: Associated changes.
4040
4041 2003-09-06  Angus Leeming  <leeming@lyx.org>
4042
4043         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4044         one, inside testInvariant.
4045
4046         * PrinterParams.C: new file.
4047         * PrinterParams.[Ch]: move the function bodies out of line.
4048
4049 2003-09-06  Angus Leeming  <leeming@lyx.org>
4050
4051         * ParagraphParameters.h: forward declare ParameterStruct rather than
4052         including its header file.
4053         (depth): moved out-of-line.
4054
4055 2003-09-06  Angus Leeming  <leeming@lyx.org>
4056
4057         * BufferView_pimpl.h:
4058         * kbmap.h:
4059         * kbsequence.h:
4060         * lyxfunc.h: forward declare LyXKeySym rather than
4061         #include "frontends/LyXKeySym.h".
4062
4063         * BufferView_pimpl.C:
4064         * kbmap.C:
4065         * kbsequence.C:
4066         * lyxfunc.C: associated changes.
4067
4068 2003-09-06  Angus Leeming  <leeming@lyx.org>
4069
4070         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4071         As a result, can remove the #include "insets/inset.h" from BufferView.h
4072
4073 2003-09-06  Angus Leeming  <leeming@lyx.org>
4074
4075         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4076         As a result, can remove the #include "insets/inset.h" from BufferView.h
4077
4078 2003-09-06  Angus Leeming  <leeming@lyx.org>
4079
4080         * buffer_funcs.C:
4081         * buffer.h:
4082         * bufferlist.C:
4083         * BufferView.C:
4084         * bufferview_funcs.C:
4085         * BufferView_pimpl.C:
4086         * CutAndPaste.C:
4087         * lyx_cb.C:
4088         * lyxfunc.C:
4089         * paragraph.h:
4090         * ParagraphParameters.C:
4091         * tabular.C:
4092         * text3.C:
4093         * toc.C:
4094         * undo_funcs.C:
4095         * frontends/controllers/ControlDocument.C:
4096         * insets/insetcaption.C: rearrange the #includes into some sort of
4097         coherent order.
4098
4099         * buffer.h: remove #includes ErrorList.h, undo.h
4100
4101 2003-09-06  Angus Leeming  <leeming@lyx.org>
4102
4103         * support/types.h: add a 'depth_type' typedef, used to store the
4104         nesting depth of a paragraph.
4105
4106         * paragraph.h:
4107         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4108         defining explicitly.
4109
4110         * buffer.h:
4111         * paragraph_funcs.h:
4112         * ParagraphParameters.h:
4113         * sgml.h: use lyx::depth_type rather than Paragraph or
4114         ParameterStruct's depth_type.
4115
4116         * buffer.h
4117         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4118
4119         * BufferView.C:
4120         * BufferView_pimpl.C:
4121         * CutAndPaste.C:
4122         * ParagraphParameters.C:
4123         * buffer_funcs.C:
4124         * bufferlist.C:
4125         * bufferview_funcs.C:
4126         * lyx_cb.C:
4127         * lyxfunc.C:
4128         * tabular.C:
4129         * text3.C:
4130         * toc.C:
4131         * undo_funcs.C:
4132         * frontends/LyXView.C:
4133         * frontends/controllers/ControlDocument.C:
4134         * frontends/controllers/ControlErrorList.C:
4135         * insets/insetbibitem.C:
4136         * insets/insetbranch.C:
4137         * insets/insetcaption.C:
4138         * insets/insetcollapsable.C:
4139         * insets/insetenv.C:
4140         * insets/insetert.C:
4141         * insets/insetfloat.C:
4142         * insets/insetfoot.C:
4143         * insets/insetfootlike.C:
4144         * insets/insetnewline.C:
4145         * insets/insetquotes.C:
4146         * insets/insettabular.C:
4147         * insets/insettext.C:
4148         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4149
4150         * frontends/controllers/ControlChanges.C: #include "changes.h".
4151
4152 2003-09-06  Angus Leeming  <leeming@lyx.org>
4153
4154         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4155         than #including paragraph.h.
4156
4157         * ParagraphList.h:
4158         * RowList.h: deleted. Superfluous.
4159
4160         * CutAndPaste.h:
4161         * iterators.h:
4162         * lyxcursor.h:
4163         * lyxtext.h:
4164         * text_funcs.h:
4165         * undo.h:
4166         * undo_funcs.h:
4167         * insets/inset.h:
4168         * insets/insettext.h: use ParagraphList_fwd.h rather than
4169         ParagraphList.h.
4170
4171         * paragraph.h: don't forward declare ParagraphList.
4172
4173         * buffer.h:
4174         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4175         rather than ParagraphList.h. paragraph.h is still needed for the
4176         Paragraph::depth_type parameters.
4177
4178         * textcursor.h: enable it to compile stand-alone in light of the
4179         above changes.
4180
4181         * bufferview_funcs.C:
4182         * iterators.C:
4183         * lyxfunc.C:
4184         * lyxrow_funcs.C:
4185         * paragraph.C:
4186         * rowpainter.C:
4187         * text.C:
4188         * text2.C:
4189         * text3.C:
4190         * text_funcs.C:
4191         * textcursor.C:
4192         * undo.C:
4193         * frontends/controllers/ControlParagraph.C:
4194         * frontends/controllers/ControlTabular.C:
4195         * insets/insetmarginal.C:
4196         * insets/insetminipage.C:
4197         * insets/insetnote.C:
4198         * insets/insetoptarg.C: add header files needed to compile again.
4199
4200 2003-09-06  Angus Leeming  <leeming@lyx.org>
4201
4202         * RowList_fwd.h: new file, forward-declaring Row rather than
4203         #including lyxrow.h.
4204
4205         * lyxrow_funcs.h:
4206         * lyxtext.h:
4207         * paragraph.h:
4208         * insets/insettext.h: use it instead of RowList.h
4209
4210         * bufferview_funcs.C:
4211         * lyxfunc.C:
4212         * lyxrow_funcs.C:
4213         * paragraph.C:
4214         * rowpainter.C:
4215         * text.C:
4216         * text2.C:
4217         * text3.C: #include "RowList.h".
4218
4219 2003-09-05  Angus Leeming  <leeming@lyx.org>
4220
4221         * factory.C (createInset):
4222         * vspace.C (c-tor): replace sscanf call with an istringstream.
4223         * ispell.C: re-add missing HP/UX headers.
4224         * lyxserver.C: re-add missing  os2 headers.
4225
4226 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4227
4228         * BranchList.C:
4229         * graph.C:
4230         * ispell.C:
4231         * lastfiles.C:
4232         * lyx_cb.C:
4233         * lyxserver.C:
4234         * texrow.C:
4235         * text3.C: re-add missing system headers, needed for 2.95.2.
4236
4237 2003-09-05  Angus Leeming  <leeming@lyx.org>
4238
4239         Changes most place everywhere due to the removal of using directives
4240         from support/std_sstream.h.
4241
4242 2003-09-05  Angus Leeming  <leeming@lyx.org>
4243
4244         Replace LString.h with support/std_string.h,
4245         Lsstream.h with support/std_sstream.h,
4246         support/LIstream.h with support/std_istream.h,
4247         support/LOstream.h with support/std_ostream.h.
4248
4249         Changes resulting throughout the tree.
4250
4251 2003-09-05  Angus Leeming  <leeming@lyx.org>
4252
4253         * sgml.h: ensure that the header file can be compiled stand-alone.
4254         * *.C: strip out redundant #includes. (320 in total.)
4255
4256 2003-09-04  Angus Leeming  <leeming@lyx.org>
4257
4258         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4259         here (from getPackages).
4260
4261         * debug.[Ch]: add a new EXTERNAL tag.
4262
4263 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4264
4265         * text2.C (cursorEnd): simplify
4266         (setCursor): adjust
4267         (getColumnNearX): adjust
4268
4269         * text.C (computeBidiTables): adjust
4270         (fill): adjust
4271
4272         * rowpainter.C (paintChars): adjust
4273         (paintSelection): adjust
4274         (paintChangeBar): adjust
4275         (paintText): adjust
4276
4277         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4278         lastPos instead.
4279         (numberOfSeparators): adjust
4280
4281 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4282
4283         * LyXAction.C:
4284         * box.[Ch]:
4285         * lfuns.h:
4286         * lyxfunc.C:
4287         * text3.C: Restricts the mouse click functionality
4288         of insets like bibtex, include, toc and floatlist to the visible
4289         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4290         up the dialogs. Cursor has to be in front of the inset (i.e.
4291         start of row) for this to function.
4292
4293 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4294
4295         * bufferview_funcs.C (currentState): output row information
4296
4297 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4298
4299         * bufferview_funcs.C (currentState): output paragraph position
4300
4301 2003-09-04  Angus Leeming  <leeming@lyx.org>
4302
4303         * FloatList.h: move out #include "Floating.h".
4304         * LaTeX.h: move out #include "DepTable.h".
4305         * LyXAction.h: move out #include "funcrequest.h".
4306         * buffer.h: move out #include "author.h", "iterators.h".
4307         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4308         * lyx_main.h: move out #include "errorlist.h".
4309         * lyxfunc.h: move out #include "FuncStatus.h".
4310         * lyxtext: move out #include "lyxcursor.h".
4311         * paragraph_pimpl.h: move out #include "counters.h".
4312
4313 2003-09-03  Angus Leeming  <leeming@lyx.org>
4314
4315         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4316         preamble_snippets list, enabling us to add snippets to the preamble
4317         only if the snippet was not there already.
4318
4319 2003-09-04  Angus Leeming  <leeming@lyx.org>
4320
4321         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4322
4323 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4324
4325         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4326         update
4327
4328 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4329
4330         * BranchList.C: point fix, earlier forgotten
4331
4332 2003-09-02  Angus Leeming  <leeming@lyx.org>
4333
4334         * box.C (contains): renamed from 'contained' after a fantastic
4335         amount of hot air.
4336
4337 2003-09-02  John Levon  <levon@movementarian.org>
4338
4339         * BufferView.C:
4340         * lyxcursor.h:
4341         * lyxcursor.C:
4342         * lyxfunc.C:
4343         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4344
4345 2003-09-02  John Levon  <levon@movementarian.org>
4346
4347         * text2.C: simplification of cursorEnd(), including partial
4348         fix for bug 1376
4349
4350 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4351
4352         * buffer.C (readFile): add a space
4353
4354 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4355
4356         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4357
4358 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4359
4360         * buffer.C (readFile): new function, take a filename and a
4361         ParagraphList::iterator
4362         (readFile): adjust
4363         (readFile): adjust, make it private. don't use setStream, make
4364         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4365         always contain the filename.
4366
4367         * BufferView.C (insertLyXFile): simplify and make it work for
4368         gzipped files.
4369
4370 2003-08-30  John Levon  <levon@movementarian.org>
4371
4372         * Makefile.am: fix dist (from Kayvan)
4373
4374 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4375
4376         * most files: change to use const Buffer refs
4377
4378 2003-08-27  André Pönitz  <poenitz@gmx.net>
4379
4380         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4381         on top of ownerPar().
4382
4383 2003-08-27  John Levon  <levon@movementarian.org>
4384
4385         * funcrequest.C: properly initialise POD members
4386
4387 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4388
4389         * lyxtext.h (top_y): move top_y from here
4390         * text.C:
4391         * text2.C:
4392         * text3.C:
4393         * BufferView.[Ch]:
4394         * BufferView_pimpl.[Ch]: to here
4395         * frontends/screen.C:
4396         * insets/insettabular.C:
4397         * insets/insettext.C: adjust
4398         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4399
4400 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4401
4402         * BufferView.[Ch]:
4403         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4404
4405 2003-08-26  André Pönitz  <poenitz@gmx.net>
4406
4407         * paragraph_func.[Ch] (outerPar): new function
4408
4409         * paragraph.C:
4410         * paragraph_funcs.C:
4411         * paragraph_funcs.h:
4412         * paragraph_pimpl.C:
4413         * text2.C: remove Inset::par_owner
4414
4415 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4416
4417         * lyxrow_funcs.C:
4418         * lyxtext.h:
4419         * text.C:
4420         * text2.C: eliminates the needFullRow/display() stuff
4421         altogether, putting the logic in metrics/draw in the insets.
4422
4423 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4424
4425         * text2.C (redoParagraphInternal, redoParagraphs):
4426         * text.C (redoParagraph): add a call to updateRowPositions at the
4427         end of each 'metrics-like' call. Remove all others.
4428         (getRow): remove the 'y-computing' version.
4429         (getRowNearY): do not compute nor return the real y. Solve the
4430         'y < 0' problem and simplify.
4431
4432 2003-08-22  Angus Leeming  <leeming@lyx.org>
4433
4434         * *.[Ch]: clean-up of licence and author blurbs.
4435         Also move config.h out of a few .h files and into a few .C files.
4436
4437 2003-08-22  André Pönitz  <poenitz@gmx.net>
4438
4439         * lyxrow.[Ch]: add x_ and *fill_ members
4440
4441         * lyxtext.h:
4442         * text.C:
4443         * rowpainter.C:
4444         * text2.C: adjust/remove prepareToPrint() calls
4445
4446 2003-08-22  André Pönitz  <poenitz@gmx.net>
4447
4448         * lyxrow.[Ch]: add  end_ member
4449
4450         * lyxrow_funcs.C: use LyXRow::end_
4451
4452         * lyxtext.h (singleWidth): add LyXFont parameter
4453
4454         * rowpainter.C:
4455         * text2.C: adjust LyXText::singleWidth() calls
4456
4457         * text.C (redoParagraph): simplify row breaking logic
4458
4459
4460 2003-08-19  André Pönitz  <poenitz@gmx.net>
4461
4462         * funcrequest.C: initialize button_ member
4463
4464         * text3.C:
4465         * rowpainter.[Ch]: interface consolidation
4466
4467 2003-08-18  André Pönitz  <poenitz@gmx.net>
4468
4469         * BufferView.C:
4470         * BufferView_pimpl.C:
4471         * lyxfind.C:
4472         * paragraph_funcs.C:
4473         * rowpainter.C:
4474         * text3.C: remove LyXScreen::draw() and fitCursor calls
4475
4476         * BranchList.h: remove spurious semicolons
4477
4478         * MenuBackend.C: fix branchlist related crash
4479
4480 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4481
4482         * BranchList.[Ch]:
4483         * InsetList.[Ch]:
4484         * LColor.[Ch]:
4485         * LyXAction.C:
4486         * Makefile.am:
4487         * MenuBackend.[Ch]:
4488         * bufferparams.[Ch]:
4489         * factory.C:
4490         * lfuns.h:
4491         * lyxfunc.C:
4492         * text3.C: implements the 'branch inset'
4493         idea. This allows the output of various versions of a document
4494         from a single source version, selectively outputing or suppressing
4495         output of parts of the text.
4496         This implementation contains a 'branch list editor' in a separate
4497         tab of the document settings dialog. Branches are user definable
4498         and have a "display colour" to distinguish them on-screen.
4499
4500         ColorHandler was somewhat cleaned up.
4501         (1) make possible a dynamically growing LColor list by allowing
4502         the graphic context cache to grow along (vector);
4503         (2) eliminate an IMHO unnecessary step in colour allocation.
4504
4505 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4506
4507         * BufferView_pimpl.C: compile fix
4508
4509 2003-08-15  André Pönitz  <poenitz@gmx.net>
4510
4511         * rowpainter.C: remove extra metrics calls
4512
4513         * lyxtext.h: merge the two constructors into a single one,
4514           pass reference to owner's par list
4515
4516         * BufferView_pimpl.C:
4517         * text.C:
4518         * text2.C: adjust
4519
4520 2003-08-15  André Pönitz  <poenitz@gmx.net>
4521
4522         * lyxrow_funcs.[Ch]:
4523         * lyxtext.h:
4524         * paragraph.h:
4525         * paragraph_funcs.C:
4526         * rowpainter.C:
4527         * text.C:
4528         * text2.C:
4529         * text3.C:
4530         * text_funcs.C: split LyXText::rowlist_ into individual
4531         Paragraph::rows_ chunks
4532
4533         * BufferView.[Ch]:
4534         * BufferView_pimpl.[Ch]:
4535         * lyxfind.C:
4536         * lyxtext.h:
4537         * text3.C: remove toggleSelection()
4538
4539 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4540
4541         * bufferlist.C: beautify two alerts (shorter text of buttons)
4542         * buffer.C: Remove redundant ' ' from message
4543         * tabular.h:
4544         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4545         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4546         rename VALIGN_CENTER to VALIGN_MIDDLE
4547
4548 2003-08-11  André Pönitz  <poenitz@gmx.net>
4549
4550         * lyxtext.h (getPar):
4551         * text.C: new function
4552
4553 2003-08-11  André Pönitz  <poenitz@gmx.net>
4554
4555         * Makefile.am:
4556         * tracer.[Ch]: remove unneeded files
4557
4558         * InsetList.[Ch]: remove resizeInsetsLyXText()
4559
4560         * lyxtext.h:
4561         * text.C:
4562         * text2.C:
4563         * text3.C: merge insertParagraphs() and appendParagraph()
4564         remove breakAgain(), update()
4565
4566         * BufferView_pimpl.[Ch]:
4567         * bufferview_funcs.[Ch]:
4568         * lyxfunc.C:
4569         * paragraph.[Ch]:
4570         * rowpainter.C:
4571         * tabular.C: adjust after text & InsetList changes.
4572
4573 2003-08-08  André Pönitz  <poenitz@gmx.net>
4574
4575         * text.C (insertChar, backspace): replace rowlist fiddling
4576         with rebreak of full par
4577
4578         * lyxtext.h:
4579         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4580         checkParagraph, updateInset): removed
4581
4582 2003-08-07  André Pönitz  <poenitz@gmx.net>
4583
4584         * paragraph.C:
4585         * text3.C: merge some LFUN handlers, remove dead code
4586
4587 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4588
4589         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4590
4591 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4592
4593         * text2.C (DEPM): fix part of bug 1255 and 1256
4594
4595 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4596
4597         * BufferView_pimpl.C (workAreaDispatch): change to use
4598         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4599         that are no mouse related.
4600
4601 2003-08-05  André Pönitz  <poenitz@gmx.net>
4602
4603         * BufferView.[Ch]:
4604         * BufferView_pimpl.[Ch]:
4605         * bufferview_funcs.C:
4606         * text2.C:
4607         * text3.C: rip out "deep update"
4608
4609         * textcursor.[Ch] (last_sel_cursor): remove unused member
4610
4611 2003-08-04  André Pönitz  <poenitz@gmx.net>
4612
4613         * BufferView.[Ch]:
4614         * BufferView_pimpl.[Ch]:
4615         * ParagraphParameters.C:
4616         * bufferview_funcs.C:
4617         * lyx_cb.C:
4618         * lyxfind.C:
4619         * lyxfunc.C:
4620         * text.C:
4621         * text2.C:
4622         * text3.C: replace "complicated" BufferView::update(...) calls with
4623         simpler ones.
4624
4625         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4626
4627 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4628
4629         * Makefile.am (lyx_SOURCES): add paper.h
4630
4631 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4632
4633         * Makefile.am: move things around so that both lyx-qt and
4634         lyx-xforms can be built (according to --with-frontend). Then lyx
4635         is a symbolic link to lyx-[firstfrontend]
4636
4637 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4638
4639         * Always use std::endl with lyxerr
4640
4641 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4642
4643         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4644
4645 2003-08-01  André Pönitz  <poenitz@gmx.net>
4646
4647         * BufferView.[Ch]:
4648         * BufferView_pimpl.[Ch]:
4649         * lyxfunc.C:
4650         * text3.C: merge BufferView::repaint() and BufferView::update()
4651
4652 2003-08-01  José Matos  <jamatos@lyx.org>
4653
4654         * buffer.[Ch]: file_format is no longer a buffer data element.
4655
4656 2003-08-01  André Pönitz  <poenitz@gmx.net>
4657
4658         * BufferView.C:
4659         * lyxtext.h:
4660         * text.C:
4661         * text2.C: make redoParagraph more independent of current cursor
4662
4663         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4664         * text.C:
4665         * text2.C: remove unneeded members
4666
4667 2003-07-30  André Pönitz  <poenitz@gmx.net>
4668
4669         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4670
4671         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4672           create a single function...
4673
4674         * paragraph_funcs.C (moveItem): ... here.
4675
4676         * text.C:
4677           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4678
4679 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4680
4681         * LColor.[Ch]: Add comment and greyedout logical colors.
4682
4683 2003-07-30  André Pönitz  <poenitz@gmx.net>
4684
4685         * tabular.C: don't use Assert too heavily. This crashes where it
4686           shouldn't
4687
4688 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4689
4690         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4691         is disabled (bug 1232)
4692
4693 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4694
4695         * factory.C: limited 'arg' scope
4696
4697 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4698
4699         * factory.C: fixed Note submenu issues
4700
4701 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4702
4703         * factory.C: submenu for Note/Comment/Greyedout
4704
4705 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4706
4707         * lyx_main.C (LyX):
4708         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4709
4710 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4711
4712         * LaTeXFeatures.C:
4713         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4714         greyedout. Patch provided by Jürgen Spitzmüller.
4715
4716 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4717
4718         * kbmap.C (read): fix error message when reading bind files
4719
4720 2003-07-29  Angus Leeming  <leeming@lyx.org>
4721
4722         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4723         certainly does not do what it purports to do. I am doing it, and
4724         us, a favour by killing it.
4725
4726 2003-07-28  José Matos  <jamatos@lyx.org>
4727
4728         * buffer.C (readBody, do_writeFile):
4729         * paragraph.C(readParagraph): \end_document replaces \the_end.
4730
4731 2003-07-29  André Pönitz  <poenitz@gmx.net>
4732
4733         * BufferView.[Ch]:
4734         * BufferView_pimpl.[Ch]:
4735         * lyxfunc.C:
4736         * text2.C:
4737         * text3.C:
4738         * textcursor.[Ch]: remove toggleToggle & Co
4739
4740 2003-07-28  José Matos  <jamatos@fep.up.pt>
4741
4742         * buffer.C (readParagraph):
4743         * params_func (readParToken, readParagraph):
4744         * paragraph.C (write): \layout -> \begin_layout.
4745
4746 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4747
4748         * lyxlex_pimpl.C (setFile): clean up slightly.
4749
4750         * bufferparams.h: add compressed var
4751
4752         * buffer_funcs.C (readFile): adjust for LyXLex change
4753         (newFile): ditto + simplify
4754
4755         * buffer.C (writeFile): handle writing of compressed files
4756
4757         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4758         Check if the file is compressed and set a bufferparm if so.
4759
4760         * Makefile.am (lyx_LDADD): remove explicit -lz
4761
4762 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4763
4764         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4765         makeDocBookFile): put the real LyX version in the first line of
4766         the file
4767
4768         * version.h:
4769         * version.C.in: remove lyx_docversion
4770
4771         * tabular.C (write_attribute): add a template-based version to
4772         write enums properly
4773
4774 2003-07-28  André Pönitz  <poenitz@gmx.net>
4775
4776         * lyxtext.h:
4777         * text.C:
4778         * text2.C:
4779         * text3.C: use doubles again for x-coordinates. They are needed.
4780
4781 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4782
4783         * messages.C (getLocaleDir): use lyx_localedir()
4784
4785         * lyxlex_pimpl.C (setFile): compress stuff
4786
4787         * buffer.C (writeFile): add some compression stuff
4788         (do_writeFile): new func, dont call expliti close... will this
4789         breake anything?
4790
4791         * Makefile.am (lyx_LDADD): add -lz
4792
4793 2003-07-28  José Matos  <jamatos@fep.up.pt>
4794
4795         * buffer.C: increment file format.
4796         * paragraph_funcs (readParagraph, readParToken):
4797         * paragraph.C (readParagraph): add \end_layout.
4798
4799 2003-07-27  Angus Leeming  <leeming@lyx.org>
4800
4801         * Makefile.am: remove special casing for configure-time setting of
4802         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4803
4804         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4805         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4806
4807 2003-07-26  André Pönitz  <poenitz@gmx.net>
4808
4809         * paragraph_func.[Ch]:
4810         * paragraph.C (realizeFont): inline it whereever it is used
4811
4812         * rowpainter.C:
4813         * text.C:
4814         * text2.C:
4815         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4816
4817
4818 2003-07-26  André Pönitz  <poenitz@gmx.net>
4819
4820         *       lyxtext.h:
4821         * text.C:
4822         * text2.C: get rid of LyXText::need_break_row
4823
4824 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4825
4826         * toc.[Ch]: put namespace toc inside namespace lyx
4827
4828         * MenuBackend.C (expandToc2): adjust for lyx::toc
4829         (expandToc): ditto
4830
4831         * lyxfunc.C (dispatch): adjust for lyx::find
4832
4833         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4834         lyx::find instead. Reorganize a bit.
4835         (LyXReplace): rename to replace
4836         (LyXFind): rename to find
4837
4838         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4839         (dispatch): ditto
4840
4841 2003-07-26  André Pönitz  <poenitz@gmx.net>
4842
4843         * text.C (setHeightOfRow): restrict scope of temporary variable
4844
4845         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4846           code (never has been used?)
4847
4848 2003-07-27  Asger Alstrup  <alstrup@local>
4849
4850         * text.C (fill): Optimise algorithm to exploit that we can reuse
4851         the LyXFont for many characters.
4852         (setHeightOfRow): Same thing.
4853         (rowBreakPoint): Same thing.
4854
4855 2003-07-26  Asger Alstrup  <alstrup@local>
4856
4857         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4858
4859         * text.C (singleWidth): Spurious font copying in hot-spot
4860         singleWidth avoided. Reorder tests for arabic for efficiency.
4861
4862         * text.C (fill): handle empty paragraphs better.
4863
4864 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4865
4866         * ispell.C:
4867         * encoding.h: add includes
4868
4869         * lyxrc.C: remove reading of bind files
4870
4871         * lyx_main.C (init): setup bindings and menus only if we have a
4872         gui.
4873
4874         * kbmap.C (read): new method. Do the actual reading of bind
4875         files.
4876
4877         * converter.C (dvipdfm_options):
4878         * bufferparams.C:
4879         * lyxrc.C (read):
4880         (output): adapt PAPER_* enums.
4881
4882         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4883
4884         * bufferparams.h: remove paper-related enums from there
4885
4886         * paper.h: New file. A trivial header file to hold paper-related
4887         enums. It should later expand to contain many paper-related
4888         horrors access.
4889
4890         * lyxrc.C: declare extern displayTranslator
4891
4892 2003-07-27  José Matos  <jamatos@fep.up.pt>
4893
4894         * tabular.[Ch] (linuxdoc): add support for tables and figures
4895         (linuxdoc).
4896
4897 2003-07-27  José Matos  <jamatos@fep.up.pt>
4898
4899         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4900         consistency in both functions.
4901         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4902
4903 2003-07-26  Asger Alstrup  <alstrup@local>
4904
4905         * rowpainter.C (paintRows): Change algorithm to work directly on
4906         the insets rather than asking every character in the document
4907         whether its an inset.
4908
4909 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4910
4911         * buffer.C (openFileWrite): factorize some code
4912
4913 2003-07-26  Angus Leeming  <leeming@lyx.org>
4914
4915         * lyx_cb.C:
4916         * lyx_main.[Ch]: replace occurances of system_tempdir with
4917         os::getTmpDir().
4918
4919 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4920
4921         * rename Inset to InsetOld
4922
4923 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4924
4925         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4926         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4927         which I think is a bit clearer. EDIT is gone, since it was
4928         premature optimisation, and broken for mathed anyway.
4929         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4930         with cursor positioning in insets as well (math insets still do not
4931         work, but that's a different story anyway.) It mysteriously
4932         crashes sometimes with undo in the first paragraph, but I'm fairly
4933         confident that this is a compiler bug.
4934
4935 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4936
4937         * paragraph.C (Paragraph): adjust for new clone return type
4938         (operator==): ditto
4939         (copyIntoMinibuffer): ditto
4940
4941 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4942
4943         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4944         by not having a special case, and always doing a full rebreak of
4945         the document after undo.
4946
4947 2003-07-23  Angus Leeming  <leeming@lyx.org>
4948
4949         * factory.C (createInset): InsetExternal::setParams now takes a
4950         Buffer const * arg.
4951
4952 2003-07-23  Angus Leeming  <leeming@lyx.org>
4953
4954         * factory.C (createInset): changed interface to the external and
4955         graphics mailers' string2params functions.
4956
4957 2003-07-23  Angus Leeming  <leeming@lyx.org>
4958
4959         * factory.C (createInset): pass a
4960         Buffer const * parameter to InsetExternalMailer's string2params.
4961
4962 2003-07-22  John Levon  <levon@movementarian.org>
4963
4964         * Thesaurus.h: include the right aiksaurus header
4965
4966 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4967
4968         * MenuBackend.C (expand): check menu shortcuts unconditionally
4969
4970 2003-07-21  Angus Leeming  <leeming@lyx.org>
4971
4972         * factory.C (createInset): pass a
4973         buffer_path parameter to InsetGraphicsMailer's string2params.
4974
4975 2003-07-21  Angus Leeming  <leeming@lyx.org>
4976
4977         * BufferView_pimpl.C (buffer):
4978         * buffer.C (d-tor):
4979         * lyx_main.C (LyX):
4980         * lyxfunc.C (dispatch):
4981         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4982         rather than the grfx shortcut.
4983
4984 2003-07-21  André Pönitz  <poenitz@gmx.net>
4985
4986         * rowpainter.C: remove unused variables
4987
4988         * tabular_funcs.C:
4989         * tabular_funcs.h: move to tabular.C
4990         * Makefile.am: adjust
4991
4992         * tabular.[Ch]: basic optical cleaning
4993
4994         * author.h: pass references, not values
4995
4996 2003-07-18  André Pönitz  <poenitz@gmx.net>
4997
4998         * lyxtext.h:
4999         * metricsinfo.C:
5000         * metricsinfo.h:
5001         * rowpainter.C:
5002         * text.C:
5003         * text2.C:
5004         * text3.C: two-phase drawing for InsetText and InsetTabular
5005         some float -> int changes.
5006
5007 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5008
5009         * lyx_main.C: fix the fix
5010
5011 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5012
5013         * lyx_main.C: fix a crash in batch mode if no files specified
5014         * converter.C: ws
5015
5016 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5017
5018         * format.[Ch] (papersize): moved to BufferParams
5019         * converter.[Ch] (dvips_options): moved to BufferParams
5020         (dvipdfm_options): moved to anon namespace
5021         * bufferparams.[Ch]: added above functions.
5022
5023 2003-07-17  André Pönitz  <poenitz@gmx.net>
5024
5025         * lyxtext.h:
5026         * rowpainter.C:
5027         * text2.C: don't call inset->update() anymore
5028
5029         * metricsinfo.[Ch]: add convenience constructor
5030
5031 2003-07-16  André Pönitz  <poenitz@gmx.net>
5032
5033         * lyxcursor.[Ch]:
5034         * lyxfunc.[Ch]:
5035         * text.C:
5036         * text2.C: replace the LyXCursor::irow_ member with
5037          on-demand computation of the value
5038
5039 2003-07-16  John Levon  <levon@movementarian.org>
5040
5041         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5042
5043 2003-07-15  André Pönitz  <poenitz@gmx.net>
5044
5045         * text.C:
5046         * text2.C: remove no more needed refresh_row
5047
5048 2003-07-15  André Pönitz  <poenitz@gmx.net>
5049
5050         * lyxtext.h:
5051         * rowpainter.C:
5052         * text2.C:
5053         * text3.C: refresh_status tristate -> need_update bool
5054
5055 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5056
5057         * lyxtext.h (init): remove reinit argument (act as if always true)
5058         * text2.C: adjust to that
5059
5060 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5061
5062         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5063         * text3.C: use it to delete selections in some cases
5064         (bugs 441, 673, 702, 954).
5065
5066 2003-07-14  André Pönitz  <poenitz@gmx.net>
5067
5068         * rowpainter.[Ch]: reduce interface
5069
5070 2003-07-14  André Pönitz  <poenitz@gmx.net>
5071
5072         * BufferView_pimpl.C:
5073         * text2.C: adjust after removing unused BufferView * argument
5074
5075 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5076
5077         * text2.C (init): fix a crash fired on resize
5078
5079 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5080
5081         * buffer.[Ch]: added new closing signal
5082         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5083         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5084         BufferView::Pimpl via the closing the signal
5085
5086 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5087
5088         * buffer.[Ch]: take out all bv-related from buffer
5089         * BufferView.C:
5090         * BufferView_pimpl.[Ch]: connect to new signals
5091         * CutAndPaste.C: removed useless asserts
5092         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5093         * lyxvc.[Ch]:
5094         * vc-backend.[Ch]:
5095         * lyxfunc.C: moved view-related funciontality from vc here
5096         * paragraph.C: removed outdated comments
5097         * text.C: ws
5098
5099 2003-07-10  André Pönitz  <poenitz@gmx.net>
5100
5101         * BufferView_pimpl.C:
5102         * tabular.h:
5103         * tabular_funcs.C:
5104         * text.C:
5105         * text2.C: remove InsetText::InnerCache, clean up consequences
5106
5107 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5108
5109         * ispell.C: fix two typos in error messages
5110
5111 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5112
5113         * Extend Note inset to other forms of annotation like Comment
5114         and Greyedout. Right button click gives dialog.
5115
5116         Files modified or added (+):
5117
5118         * insetnote.[Ch]
5119         * FormNote.[Ch]      +
5120         * ControlNote.[Ch]   +
5121         * form_note.fd       +
5122         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5123         frontends/controllers
5124         * xforms/Dialogs.C
5125         * factory.C
5126
5127 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5128
5129         * aspell.C: add missing namespace lyx::support
5130
5131 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5132
5133         * BufferView.[Ch] (newFile): Add
5134         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5135         * LaTeX.[Ch] (message): added this signal and use it
5136         * buffer.[Ch] (busy, message): added these signals and use them
5137         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5138         * converter.C:
5139         * exporter.C:
5140         * format.C:
5141         * importer.C: use buffer signals instead of direct bv calling
5142         * lyx_cb.[Ch] (ShowMessage): removed
5143         * lyx_main.C:
5144         * lyxfunc.C:
5145         * paragraph_funcs.C:
5146         * text2.C: use buffer signals
5147
5148 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5149
5150         * introduce namespace lyx::graphics
5151
5152 2003-07-02  André Pönitz  <poenitz@gmx.net>
5153
5154         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5155
5156 2003-07-01  André Pönitz  <poenitz@gmx.net>
5157
5158         * text.C:
5159         * text2.C:
5160         * text3.C:
5161         * text_funcs.[Ch]:
5162         * textcursor.h:
5163         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5164           text*.C to text_func.C
5165
5166 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5167
5168         * introduce namespace lyx::support
5169
5170 2003-06-30  André Pönitz  <poenitz@gmx.net>
5171
5172         * Chktex.C:
5173         * funcrequest.C:
5174         * lyxtext.h:
5175         * text.C: re-enable --with-included-string
5176
5177 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5178
5179         * textcursor.C: add <config.h>
5180
5181         * text.C (getWord): remove const from word_location arg
5182
5183         * lyxvc.C (getLogFile): fix const type order
5184
5185         * lyxtext.h: remove const from word_location arg, add arg name
5186
5187         * lyxlayout.h: currect type on labeltype.
5188
5189         * importer.C: correct \file
5190
5191         * converter.C (intToFormat): use std:: on ret val, ws changes
5192
5193         * bufferlist.h: correct \file
5194
5195         * buffer.C (makeLinuxDocFile): fix const type order
5196         (makeDocBookFile): ditto
5197         (fillWithBibKeys): use std:: on stdlib args.
5198
5199         * CutAndPaste.C: fix authors.
5200         (availableSelections): use std:: on return vector
5201
5202 2003-06-27  André Pönitz  <poenitz@gmx.net>
5203
5204         * BufferView_pimpl.C:
5205         * bufferview_funcs.C:
5206         * lyxcursor.C:
5207         * lyxcursor.h:
5208         * lyxfunc.C:
5209         * lyxtext.h:
5210         * rowpainter.C:
5211         * text.C:
5212         * text2.C:
5213         * text3.C: remove LyXCursor::row_ member
5214
5215         * lyxtext.h:
5216         * text.C: rename fullRebreak() to partialRebreak() and implement
5217           a fullRebreak() that really bereks fully
5218
5219         * textcursor.h: new struct for cursor-related data
5220
5221 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5222
5223         * lyx_main.C (LyX): get full path of document loaded on the
5224         command line
5225
5226 2003-06-26  André Pönitz  <poenitz@gmx.net>
5227
5228         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5229           remove unused/broken operator>,<,>=.
5230
5231         *       text.C: remove only use of broken operator<= in an Assert().
5232
5233 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5234
5235         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5236         moved errorlist_.clear to showErrorList
5237
5238 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5239
5240         * converter.C (scanLog, runLaTeX):
5241         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5242         move the bv->showErrorList call to the callers
5243         * lyxfunc.C: i.e. here...
5244         * text2.C: and here
5245         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5246         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5247         namespace, the second to...
5248         * buffer_funcs (BufferFormat, parseErrors): added
5249         * errorlist.C (ErrorList(TeXErrors const &)): removed
5250
5251 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5252
5253         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5254
5255 2003-06-24  "Garst R. Reese" <reese@isn.net>
5256
5257         * debug.C: fix typo
5258
5259 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5260
5261         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5262
5263         * version.C.in: change docversion to 1.4
5264
5265 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5266
5267         * buffer.C: fix a bug just introduced
5268
5269 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5270
5271         * buffer.[Ch]: added the parseError signal and use it, removed
5272         sgmlError
5273         * BufferView.[Ch] (addError): moved to ...
5274         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5275         to the Buffer::parseError signal to catch (guess what) parse errors
5276         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5277
5278 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5279
5280         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5281         ability to create a buffer and to return an existing one from
5282         the list. Moved these functions to...
5283         * buffer_funcs.[Ch]: added
5284         * BufferView.[Ch] (loadLyXFile): added
5285         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5286         job removed from bufferlist::loadLyXFile.
5287         * buffer.C (setReadOnly): make it work without view
5288         (i.e added an if (users))
5289
5290 2003-06-19  Angus Leeming  <leeming@lyx.org>
5291
5292         * lfuns.h:
5293         * LyXAction.C (init):
5294         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5295         with LFUN_DIALOG_SHOW <name> <data>.
5296
5297 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5298
5299         * CutAndPaste.C (availableSelections): small compilation fix for
5300         ancient (gcc 2.9x) compilers
5301
5302 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5303
5304         * text3.C (cursorNext): add tmp var
5305
5306         * text2.C (updateCounters): for function calling out of for clause
5307         (replaceSelectionWithString): ditto
5308         (insertStringAsParagraphs): ditto
5309         (getColumnNearX): add tmp var
5310         (setCursorFromCoordinates): add tmp var
5311         (cursorDownParagraph): add tmp var
5312         (deleteEmptyParagraphMechanism): add tmp var
5313
5314         * text.C (insertChar): add tmp var
5315
5316         * rowpainter.C (paintDepthBar): add tmp var
5317
5318         * CutAndPaste.C (availableSelections): potentially check all
5319         paragraphs in a cut to fill the shown strings.
5320
5321 2003-06-18  André Pönitz  <poenitz@gmx.net>
5322
5323         * kbmap.[Ch]: use vector<> instead of list<>
5324
5325 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5326
5327         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5328         pasteSelection with index
5329
5330         * text2.C (pasteSelection): modify, call pasteSelection with index
5331
5332         * paragraph.C (asString): reimplement version with no interval to
5333         call the one with interval.
5334
5335         * lyxtext.h: add index arg to pasteSelection
5336
5337         * MenuBackend.C (MenuItem): handle PasteRecent
5338         (Menu::read::Menutags): add md_pasterecent
5339         (read): handle it
5340         (expandPasteRecent): new function
5341         (expand): use it
5342
5343         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5344
5345         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5346         the limited stack
5347         (availableSelections): new function
5348
5349 2003-06-17  Angus Leeming  <leeming@lyx.org>
5350
5351         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5352
5353 2003-06-17  Angus Leeming  <leeming@lyx.org>
5354
5355         * lfuns.h:
5356         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5357
5358         * lyxfunc.C (dispatch): invoke it.
5359
5360 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5361
5362         * iterators.C (operator++, ParPosition): reintroduce some
5363         const_cast for the benefit of older compilers.
5364
5365 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5366
5367         * text3.C (dispatch): do not modify clipboard when doing
5368         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5369         LFUN_DELETE_SKIP on a selection selection
5370
5371 2003-06-16  André Pönitz  <poenitz@gmx.net>
5372
5373         * BufferView.C:
5374         * buffer.C:
5375         * buffer.h:
5376         * paragraph.C:
5377         * tabular.[Ch]: IU of clone() and getLabelList();
5378
5379 2003-06-13  André Pönitz  <poenitz@gmx.net>
5380
5381         * tabular.h: compactification
5382
5383 2003-06-12  André Pönitz  <poenitz@gmx.net>
5384
5385         * tabular.C:
5386         * tabular.h:
5387         * tabular_funcs.h: some renaming plus whitespace
5388
5389 2003-06-12  André Pönitz  <poenitz@gmx.net>
5390
5391         * BufferView.C:
5392         * BufferView_pimpl.C:
5393         * CutAndPaste.C:
5394         * buffer.C:
5395         * iterators.[Ch]:
5396         * lyxfunc.C:
5397         * text.C:
5398         * toc.C: Return a Paragraph & for ParIterator::operator*()
5399
5400 2003-06-11  John Levon  <levon@movementarian.org>
5401
5402         * lyx_main.C:
5403         * ToolbarBackend.h:
5404         * ToolbarBackend.C: add "Toolbars" section and
5405         put the flags there
5406
5407 2003-06-10  Angus Leeming  <leeming@lyx.org>
5408
5409         * lfuns.h:
5410         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5411
5412         * lyxfunc.C (dispatch): invoke it.
5413
5414 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5415
5416         * main.C: protect <ios> with HAVE_IOS
5417         (main): protect sync_with_stdio with HAVE_IOS
5418
5419 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5420
5421         * text2.C (cutSelection): adjust
5422         (pasteSelection): adjust
5423
5424         * messages.C: handle get of empty string
5425
5426         * main.C (main): use sync_with_stdio(false)
5427
5428         * lyxfunc.C (dispatch): adjust
5429
5430         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5431         (WriteAs): remove unneeded BufferView arg.
5432
5433         * bufferparams.h: use correct types on papersize, papersize2 and
5434         paperpackage.
5435
5436         * bufferparams.C (readToken): adjust for type
5437         (writeLaTeX): add missing cases to switch.
5438
5439         * bufferlist.C (quitWriteBuffer): adjust
5440         (close): adjust
5441
5442         * buffer.C (asciiParagraph): remove some commented code.
5443
5444         * CutAndPaste.C: remove current_view extern variable.
5445         (cutSelection): add BufferParams arg.
5446         (eraseSelection): add BufferParams arg.
5447         (pasteSelection): add Buffer const & arg
5448
5449 2003-06-07  John Levon  <levon@movementarian.org>
5450
5451         * buffer.C:
5452         * paragraph_funcs.C:
5453         * paragraph_pimpl.C:
5454         * text.C:
5455         * text2.C:
5456         * paragraph.h:
5457         * paragraph.C: allow InsetERT to freely space lines,
5458         and some consolidation of code
5459
5460 2003-06-06  José Matos  <jamatos@fep.up.pt>
5461
5462         * buffer.C (makeDocBookFile): fix bug #821
5463
5464 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5465
5466         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5467
5468 2003-06-04  Angus Leeming  <leeming@lyx.org>
5469
5470         * buffer.C: bump format to 224.
5471
5472 2003-06-05  André Pönitz  <poenitz@gmx.net>
5473
5474         * text2.C (redoParagraphs): remove two const_cast<>
5475
5476 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5477
5478         * ParagraphList.h: remove last remnants of NO_STD_LIST
5479
5480 2003-06-03  Angus Leeming  <leeming@lyx.org>
5481
5482         * factory.C (createInset): small change to the way InsetExternal's params
5483         are set.
5484
5485 2003-06-04  André Pönitz  <poenitz@gmx.net>
5486
5487         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5488
5489         * paragraph_pimpl.h:
5490         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5491
5492         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5493
5494         * undo_funcs.C: make some simple cases of undo work again
5495
5496 2003-06-03  John Levon  <levon@movementarian.org>
5497
5498         * ispell.C: HPUX doesn't have sys/select.h
5499         (from Albert Chin)
5500
5501 2003-06-03  John Levon  <levon@movementarian.org>
5502
5503         * CutAndPaste.C: update tabular and include inset
5504         buffer references
5505
5506         * buffer.h:
5507         * paragraph.h:
5508         * paragraph.C: remove owningBuffer(), don't pass Buffer
5509         to clone()
5510
5511         * factory.C: insetGraphicsParams changed
5512
5513 2003-06-02  John Levon  <levon@movementarian.org>
5514
5515         * LyXAction.C:
5516         * factory.C:
5517         * lfuns.h:
5518         * lyxfunc.C:
5519         * text3.C: remove insetparent
5520
5521 2003-06-02  John Levon  <levon@movementarian.org>
5522
5523         * buffer.h:
5524         * buffer.C: fix inset_iterator.end(), move out of line
5525         (bug 1149)
5526
5527 2003-06-01  John Levon  <levon@movementarian.org>
5528
5529         * text3.C: use a proper cut/paste when doing inset
5530         insert (from Jürgen Spitzmüller)
5531
5532 2003-06-01  John Levon  <levon@movementarian.org>
5533
5534         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5535
5536 2003-05-30  André Pönitz  <poenitz@gmx.net>
5537
5538         * rowpainter.C: unify second drawing phase
5539
5540 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5541
5542         * trans_mgr.C: remove one case of current_view
5543
5544         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5545
5546         * paragraph_funcs.h: remove paragraph.h include
5547
5548         * paragraph.h: delete NO_STD_LIST stuff
5549
5550         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5551
5552         * buffer.h: remove paragraph.h include
5553
5554         * ParagraphList.C: delete file
5555
5556         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5557
5558         * toc.C (getTocList): adjust
5559
5560         * paragraph_pimpl.C (validate): adjust
5561
5562         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5563
5564         * paragraph.C (Paragraph): adjust
5565         (getPositionOfInset): use const_iterator, adjust
5566         (bibitem): use const_iterator, adjust
5567         (setInsetOwner): adjust
5568
5569         * iterators.C (operator++): adjust
5570
5571         * InsetList.[Ch]: Replace selfmade iterator with standard
5572         vector::iterator also introduce const_iterator. Remove getPos,
5573         getInset and setInset from InsetTable. Adjust accordingly.
5574
5575         * BufferView.C (lockInset): adjust
5576         (ChangeInsets): adjust
5577
5578         * tabular.[Ch]: delete commented same_id functions
5579
5580 2003-05-28  John Levon  <levon@movementarian.org>
5581
5582         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5583
5584 2003-05-28  André Pönitz  <poenitz@gmx.net>
5585
5586         * metricsinfo.[Ch]: remove 'fullredraw' member
5587
5588 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5589
5590         * lyxtextclass.C (operator): remove caching.
5591
5592 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5593
5594         * text3.C: adjust
5595
5596         * text2.C (cursorBottom): adjust
5597         (setCounter): use ParagraphList::find, adjust
5598
5599         * text.C (workWidth): use ParagraphList::find, adjust
5600
5601         * lyxcursor.C (LyXCursor): adjust
5602
5603         * buffer.C (inset_iterator): adjust
5604
5605         * ParagraphList.h: make iterator(value_type) private, make
5606         ParagraphList a friend of iterator.
5607
5608         * ParagraphList.C (find): new function
5609
5610         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5611
5612 2003-05-27  André Pönitz  <poenitz@gmx.net>
5613
5614         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5615
5616 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5617
5618         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5619
5620 2003-05-26  John Levon  <levon@movementarian.org>
5621
5622         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5623
5624 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5625
5626         * remove same_id from function signatures, adjust.
5627
5628 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5629
5630         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5631
5632         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5633
5634         * paragraph.C (Paragraph): get rid of same_ids parameter
5635
5636         * ParagraphList.C (insert): adjust
5637         (push_back): adjust
5638
5639 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5640
5641         * paragraph_funcs.C (breakParagraph): adjust
5642         (breakParagraphConservative): adjust
5643
5644         * buffer.C (readParagraph): adjust
5645
5646         * ParagraphList.C (insert): take a reference instead of a pointer
5647         (insert): adjust
5648
5649         * paragraph.[Ch] (id): new function
5650
5651         * bufferlist.C (newFile): adjust
5652
5653         * ParagraphList.C (ParagraphList): adjust
5654         (assign): adjust
5655         (push_back): take a reference instead of a pointer.
5656
5657         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5658
5659         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5660         instead.
5661
5662         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5663         set else use old code.
5664
5665         * ParagraphList.C: remove all NO_NEXT code and only compile this
5666         code of NO_STD_LIST is set.
5667
5668 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5669
5670         * BufferView_pimpl.C:
5671         * TextCache.C:
5672         * TextCache.h:
5673         * bufferlist.C:
5674         * errorlist.h:
5675         * format.C:
5676         * format.h:
5677         * graph.C:
5678         * lyxfunc.C:
5679         * lyxrc.C:
5680         * graphics/GraphicsConverter.C:
5681         * graphics/PreviewLoader.C: header adjustment
5682
5683 2003-05-23  Angus Leeming  <leeming@lyx.org>
5684
5685         * LaTeXFeatures.[Ch] (useBabel): new method.
5686         * bufferparams.C (writeLaTeX): use it.
5687
5688 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5689
5690         * ParagraphList.h (set): remove unused function.
5691
5692 2003-05-23  André Pönitz  <poenitz@gmx.net>
5693
5694         * BufferView.C:
5695         * BufferView_pimpl.C:
5696         * buffer.C:
5697         * buffer.h:
5698         * lyxfunc.C:
5699         * undo_funcs.C: setUndo reworked
5700
5701         * iterators.[Ch]: add access to topmost ParagraphList
5702
5703         * lyxtext.[Ch] (workWidth): add a const
5704
5705 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5706
5707         * texrow.[Ch] (increasePos): remove function
5708         * exporter.C (export): removed unused var and outdated comment
5709
5710 2003-05-23  Angus Leeming  <leeming@lyx.org>
5711
5712         * latexrunparams.h: rename fragile as moving_arg.
5713         * paragraph.C (simpleTeXOnePar): ditto.
5714         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5715
5716 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5717
5718         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5719         (createUndo): ditto
5720         (textUndoOrRedo): comment out a currently unused var.
5721
5722         * paragraph.h (NO_NEXT): enable NO_NEXT
5723
5724         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5725
5726         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5727
5728         * exporter.C (Export): adjust for removeAutoInsets removal.
5729
5730         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5731
5732         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5733
5734         * BufferView.[Ch] (removeAutoInsets): delete function
5735
5736 2003-05-22  Angus Leeming  <leeming@lyx.org>
5737
5738         * latexrunparams.h: add a free_spacing variable.
5739
5740         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5741         to pass moving_arg, as the data is stored in runparams.fragile.
5742
5743         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5744         to Inset::latexOptional or to simpleTeXOnePar.
5745
5746         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5747         free_spacing arg to Inset::latexOptional.
5748
5749         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5750         free_spacing arg.
5751
5752 2003-05-22  Angus Leeming  <leeming@lyx.org>
5753
5754         * latexrunparams.h: add fragile and use_babel variables.
5755
5756         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5757         * buffer.C (makeLaTeXFile): store this returned value in
5758         runparams.use_babel, thus passing it to the inset::latex methods.
5759
5760         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5761         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5762
5763         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5764         longer has a fragile arg, as it is stored in runparams.fragile.
5765
5766         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5767         moving_arg parameter as the data is stored in runparams.fragile.
5768
5769         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5770         a fragile parameter as the data is stored in runparams.fragile.
5771
5772 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5773
5774         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5775
5776 2003-05-22  Angus Leeming  <leeming@lyx.org>
5777
5778         * latexrunparams.h: add a 'bool nice' which defaults to false.
5779
5780         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5781         now encapsulated within runparams.
5782
5783         * bufferlist.C (updateIncludedTeXfiles):
5784         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5785
5786 2003-05-22  Angus Leeming  <leeming@lyx.org>
5787
5788         * latexrunparams.h: new file containing struct LatexRunParams.
5789         * Makefile.am: add new file.
5790
5791         * LaTeX.[Ch] (c-tor, run):
5792         * buffer.[Ch] (makeLaTeXFile):
5793         * bufferlist.[Ch] (updateIncludedTeXfiles):
5794         * converter.C (convert, scanLog):
5795         * converter.[Ch] (runLaTeX):
5796         * exporter.C (Export):
5797         * paragraph.[Ch] (simpleTeXOnePar):
5798         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5799         * paragraph_funcs.[Ch] (latexParagraphs):
5800         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5801         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5802         pass around a LatexRunParams parameter.
5803
5804 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5805
5806         * paragraph.[Ch]: remove unused constructor
5807
5808         * ParagraphList.C (erase): new function, taking two iterators
5809
5810 2003-05-22  André Pönitz  <poenitz@gmx.net>
5811
5812         * undo_funcs.C: remove duplicated code
5813
5814         * iterator.[Ch]: operator=
5815
5816 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5817
5818         * tabular.C (SetMultiColumn): ws changes
5819
5820         * rowpainter.C (paintFirst): get rid of a ->previous
5821
5822         * lyx_cb.C (getPossibleLabel): parlist simplification
5823
5824         * BufferView.C (ChangeInsets): simplify slightly.
5825
5826 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5827
5828         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5829         * lfuns.h: new LFUN_SPACE
5830         * lyxfunc.C: protected space has a new lfun
5831         * paragraph_funcs.C: read new space insets
5832         * text3.C:
5833         * factory.C: handle new space insets
5834
5835 2003-05-22  André Pönitz  <poenitz@gmx.net>
5836
5837         * BufferView.C:
5838         * BufferView_pimpl.C:
5839         * buffer.[Ch]:
5840         * lyxfunc.C:
5841         * undo_funcs.C: return a ParIterator from getParFromID.
5842
5843         * iterators.[Ch]: add two const's
5844
5845 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5846
5847         * toc.C (getTocList): adjust
5848
5849         * iterators.[Ch]: rework for parlist
5850
5851         * buffer.C (par_iterator_begin): adjust
5852         (par_iterator_end): adjust
5853
5854         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5855
5856         * BufferView.C (removeAutoInsets): adjust
5857         (ChangeInsets): adjust
5858
5859 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5860
5861         * text.C (top_y): fix bug 1110
5862
5863 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5864
5865         * errorlist.[Ch]: added
5866         * buffer.C:
5867         * BufferView.[Ch]:
5868         * BufferView_pimpl.C:
5869         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5870         instead
5871
5872 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5873
5874         * Makefile.am: ensure that lyx is relinked upon changes to the
5875         various "convenience" libs.
5876
5877 2003-05-20  Angus Leeming  <leeming@lyx.org>
5878
5879         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5880         files are compiled in alphabetical order again.
5881
5882         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5883
5884 2003-05-19  Angus Leeming  <leeming@lyx.org>
5885
5886         * gettext.[Ch]: remove "char const * _(char const *)".
5887
5888 2003-05-19  André Pönitz  <poenitz@gmx.net>
5889
5890         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5891
5892         * Makefile.am:
5893         * BufferView.C:
5894         * DepTable.h:
5895         * LaTeXFeatures.C:
5896         * buffer.C:
5897         * lyxfont.C:
5898         * lyxlex.h:
5899         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5900
5901 2003-05-19  André Pönitz  <poenitz@gmx.net>
5902
5903         * buffer.C:
5904         * lyxlayout.[Ch]:
5905         * lyxtextclass.[Ch]:
5906         * paragraph.C:
5907         * paragraph_funcs.[Ch]:
5908         * text2.C:
5909         * text3.C: more insetenv work
5910
5911 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5912
5913         * ParagraphParameters.C (params2string): small bug fixed
5914
5915 2003-05-16  André Pönitz  <poenitz@gmx.net>
5916
5917         * debug.C:
5918         * bufferview_funcs.C: patch from Kornel Benko to prevent
5919           crash when _(...) is called twice in a statement
5920
5921 2003-05-16  André Pönitz  <poenitz@gmx.net>
5922
5923         * BufferView.C:
5924         * lyxfunc.C:
5925         * text.C:
5926         * text2.C:
5927         * text3.C:
5928         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5929
5930 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5931
5932         * lyx_main.C (init): remove spurious static_cast
5933
5934 2003-05-14  André Pönitz  <poenitz@gmx.net>
5935
5936         * BufferView.C: fix format string
5937
5938 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5939
5940         * BufferView.[Ch] (insertErrors): removed
5941         * BufferView.[Ch] (showErrorList): added
5942         * buffer.C (runChkTeX):
5943         * converter.C (scanLog): call showErrorList instead of inserterrors
5944
5945 2003-05-13  André Pönitz  <poenitz@gmx.net>
5946
5947         * BufferView_pimpl.C:
5948         * buffer.C:
5949         * bufferview_func.C:
5950         * MenuBackend.C:
5951         * lyxfunc.C:
5952         * lyxrc.C:
5953         * tex-accent.C:
5954         * text3.C:
5955         * toc.C:
5956         * tabular_funcs.h: tostr() from its own header
5957
5958         * ParagraphParameters.C:
5959         * ToolbarBackend.C:
5960         * bufferparams.C:
5961         * format.C:
5962         * lyxlex_pimpl.C:
5963         * text3.C: STRCONV()
5964
5965 2003-05-12  André Pönitz  <poenitz@gmx.net>
5966
5967         * BufferView.C:
5968         * BufferView_pimpl.C:
5969         * CutAndPaste.C:
5970         * LaTeX.C:
5971         * LaTeXFeatures.C:
5972         * ParagraphParameters.C:
5973         * buffer.C:
5974         * bufferlist.C:
5975         * bufferparams.C:
5976         * bufferview_funcs.C:
5977         * converter.C:
5978         * counters.C:
5979         * debug.C:
5980         * exporter.C:
5981         * format.C:
5982         * importer.C:
5983         * lyx_cb.C:
5984         * lyx_main.C:
5985         * lyxfont.C:
5986         * lyxfunc.C:
5987         * lyxvc.C:
5988         * paragraph.C:
5989         * paragraph_funcs.C:
5990         * tabular.C:
5991         * tabular_funcs.C:
5992         * text2.C:
5993         * text3.C:  boost::format -> bformat  all over the place
5994
5995
5996 2003-05-09  André Pönitz  <poenitz@gmx.net>
5997
5998         * LColor.[Ch]: Pimpl the #include <map> away
5999
6000 2003-05-09  John Levon  <levon@movementarian.org>
6001
6002         * bufferlist.C: never remove emergency saves
6003
6004 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6005
6006         * Makefile.am: better lib building
6007
6008 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6009
6010         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6011         instead.
6012         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6013         (simpleTeXSpecialChars): adjust
6014         (simpleTeXSpecialChars): adjust
6015         * paragraph.C (simpleTeXOnePar): adjust
6016         * buffer.C (makeLaTeXFile): adjust
6017
6018         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6019
6020         * text2.C (changeDepth): parlist cleanup
6021         (getColumnNearX): ditto
6022
6023         * rowpainter.C (getLabelFont): parlist cleanup
6024
6025         * bufferlist.C (newFile): parlist cleanup
6026
6027         * CutAndPaste.C (eraseSelection): parlist cleanup
6028
6029         * BufferView_pimpl.C (trackChanges): parlist cleanup
6030         (dispatch): ditto
6031
6032         * BufferView.C (lockInset): parlist cleanup.
6033         (ChangeInsets): ditto
6034
6035 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6036
6037         * CutAndPaste.h: Update file header.
6038
6039         * CutAndPaste.C: Update file header.
6040         Store the parts cut out of the Document in a limited_stack.
6041         (copySelection): adjust
6042         (pasteSelection): new function, takes the index in the limited stack.
6043         (nrOfParagraphs): adjust
6044         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6045         simplify error inset insertion.
6046         (checkPastePossible): adjust
6047
6048 2003-05-06  John Levon  <levon@movementarian.org>
6049
6050         * text2.C: don't cast wrap inset to float
6051
6052 2003-05-05  André Pönitz  <poenitz@gmx.net>
6053
6054         * iterator.C:
6055         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6056
6057         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6058           few naked Paragraph *.
6059
6060 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6061
6062         * bufferparams.C: Output warning if a document with missing
6063         TeX document class is loaded
6064         * exporter.C: Disable TeX exports if the document class is missing
6065         * lyxtextclass.C:
6066         * lyxtextclass.h:
6067         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6068         isTeXClassAvailable()
6069
6070 2003-05-03  John Levon  <levon@movementarian.org>
6071
6072         * BufferView.h:
6073         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6074         explicit cursor show/hide
6075
6076         * BufferView_pimpl.h:
6077         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6078         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6079
6080         * lyxfunc.C: hide cursor before dispatching.
6081
6082         * lyx_cb.C:
6083         * lyxfind.C:
6084         * text.C:
6085         * text3.C: remove explicit cursor hides
6086
6087 2003-05-02  André Pönitz  <poenitz@gmx.net>
6088
6089         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6090
6091         * undo_funcs.C:
6092         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6093           linked lists
6094
6095         * text2.C: tiny whitespace
6096
6097 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6098
6099         * undo_funcs.C: almost only ws changes.
6100
6101         * ParagraphList.C (splice): just return if pl is empty.
6102
6103 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6104
6105         * ParagraphList.C (splice): new function.
6106
6107         * CutAndPaste.C (pasteSelection): use it
6108
6109 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6110
6111         * CutAndPaste.C (pasteSelection): remove the last next and
6112         previous from this file.
6113
6114 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6115
6116         * CutAndPaste.C (pasteSelection): more clean up, user proper
6117         ParagraphList functions for pasteing.
6118
6119         * ParagraphList.C (insert): new function, three arg insert
6120
6121 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6122
6123         * ParagraphList.C (insert): new function, three arg insert
6124
6125         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6126         not on paragraphs.
6127
6128 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6129
6130         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6131
6132 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6133
6134         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6135
6136 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6137
6138         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6139         (copySelection): clean up a bit.
6140         (pasteSelection): use make_pair
6141
6142         * ParagraphList.C (ParagraphList): implement copy constructor
6143         (operator=): implement, base on copy constructor.
6144         (assign): new func
6145
6146         * paragraph.C (erase): return a bool
6147
6148         * paragraph_pimpl.C (erasePos): remove function, move contents...
6149         (erase): ... here. Return a bool.
6150         (erase): call erase instead of erasePos.
6151
6152 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6153
6154         * ParagraphList.h: define PitPosPair
6155         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6156         ParagraphList, fix a bug on pasting multiple pars
6157         * text2.C: change interface to C&P
6158
6159 2003-04-30  André Pönitz  <poenitz@gmx.net>
6160
6161         * undo_func.C: revert part of yesterday's patch 2
6162
6163 2003-04-30  John Levon  <levon@movementarian.org>
6164
6165         * LColor.C: s/tabular/table/
6166
6167 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6168
6169         * text3.C (dispatch): do not convert iterator -> pointer
6170         * undo_funcs.C (setCursorParUndo): ditto
6171         * text_funcs.C (transposeChars): ditto
6172
6173         * text2.C (setLayout): ws changes only
6174
6175         * text.C (breakParagraph): do not convert iterator -> pointer
6176         (insertChar): ditto
6177         (acceptChange): ditto
6178         (rejectChange): ditto
6179         (changeCase): ditto
6180         (Delete): ditto
6181         (backspace): ditto
6182
6183         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6184         pointer
6185
6186 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6187
6188         * text3.C (gotoInset): YABG (yet another bad getChar)
6189
6190 2003-04-29  André Pönitz  <poenitz@gmx.net>
6191
6192         * paragraph.h: make operator= private unimplemented as long as
6193           it is unusable
6194
6195         * ParagraphList.C: whitespace
6196
6197         * paragraph.[Ch]:
6198         * paragraph_pimpl.[Ch]:
6199         * paragraph_funcs.C:
6200         * CutAndPaste.C:
6201         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6202
6203         * text2.C:
6204           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6205
6206 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6207
6208         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6209         * paragraph.[Ch] (erase):
6210         * paragraph_pimpl.[Ch] (erase): change return type and value
6211         * text2.C (cutSelection): some rework
6212
6213 2003-04-28  John Levon  <levon@movementarian.org>
6214
6215         * bufferlist.C: changes for unsaved changes dialog
6216
6217 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6218
6219         * bufferlist.C (newFile): set language (messages_) for new
6220         documents also.
6221
6222         * buffer.C (readFile): ws changes only.
6223
6224 2003-04-28  André Pönitz  <poenitz@gmx.net>
6225
6226         * undo_funcs.C:
6227         * lyxfunc.C:
6228         * buffer.[Ch]:
6229         * BufferView_pimpl.C:
6230         * BufferView.C: getParFromID related ParagraphList::iterator changes
6231
6232 2003-04-28  André Pönitz  <poenitz@gmx.net>
6233
6234         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6235           Changes
6236
6237 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6238
6239         * messages.C: remove one more localedir class variable.
6240
6241 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6242
6243         * messages.C (getLocaleDir): singleton generation function
6244         (Pimpl): use it.
6245         (Messages): add a default constructor.
6246
6247         * main.C (main): do not setup localedir here, do not call
6248         gettext_init.
6249
6250         * gettext.C (_): use it.
6251         (gettext_init): delete funciton
6252
6253 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6254
6255         * gettext.C (getLyXMessages): new singleton generating function.
6256
6257         * buffer.C (updateDocLang): adjust
6258
6259         * Makefile.am (messages.o): add target
6260         (main.o): remove target
6261
6262 2003-04-27  John Levon  <levon@movementarian.org>
6263
6264         * bufferlist.C:
6265         * lyx_cb.C:
6266         * lyxfunc.C:
6267         * lyxvc.C: specify cancel button in Alert::prompt
6268
6269 2003-04-26  John Levon  <levon@movementarian.org>
6270
6271         * text3.C:
6272         * lyxfunc.C:
6273         * lfuns.h:
6274         * LyXAction.C: add LFUN_INSET_SETTINGS
6275
6276         * lyxfunc.C: don't enable tabular-feature when there's
6277         just any locking inset
6278
6279 2003-04-26  John Levon  <levon@movementarian.org>
6280
6281         * bufferlist.C: re-add Cancel to buffer close question
6282
6283         * lyxfunc.C: fix import UI a bit
6284
6285 2003-04-25  John Levon  <levon@movementarian.org>
6286
6287         * gettext.C: remove the broken asserts for now
6288
6289 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6290
6291         * messages.C: make case where setlocale cannot comply work better.
6292
6293         * buffer.C (updateDocLang): new function
6294         (changeLanguage): use it
6295         (readFile): use it
6296
6297         * text2.C (setCounter): use B_ a bit.
6298
6299         * lyxlayout.C (Read): be sure to trim the label strings.
6300
6301         * messages.C (Messages): fix typo in comment
6302
6303         * buffer.C (readFile): set message_ after file is loaded.
6304         (makeDocBookFile): remove double return
6305         (changeLanguage): reset message_ upon language change.
6306         (B_): new func, use this to get translated buffer strings.
6307
6308         * main.C: add myself and Jean Marc as authors.
6309
6310 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6311
6312         * messages.[hC]: pimplify Messages, and three different pimpls to be
6313         used in different circumstances.
6314
6315         * gettext.[Ch]: change for use with new message code.
6316
6317 2003-04-24 André Pönitz <poenitz@gmx.net>
6318
6319         * factory.C: support for eqref
6320
6321 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6322
6323         * messages.[Ch]: add missing char
6324
6325         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6326
6327         * messages.[Ch]: New files
6328
6329 2003-04-18  John Levon  <levon@movementarian.org>
6330
6331         * BufferView.h:
6332         * BufferView.C:
6333         * BufferView_pimpl.C:
6334         * lfuns.h:
6335         * LyXAction.C:
6336         * lyxtext.h:
6337         * text2.C: remove layout-copy/paste (bug 778)
6338
6339 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6340
6341         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6342
6343 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6344
6345         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6346         if they succeed. Act accordingly.
6347
6348 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6349
6350         * text2.C (setCharFont): adjust
6351         (setCounter): adjust
6352         (insertStringAsLines): adjust
6353
6354         * text.C (leftMargin): adjust
6355         (setHeightOfRow): adjust
6356
6357         * rowpainter.C (paintFirst): adjust
6358         (paintLast): adjust
6359
6360         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6361         (outerHook): ditto
6362         (isFirstInSequence): ditto
6363         (getEndLabel): ditto
6364         (outerFont): adjust
6365
6366         * paragraph.C (getParLanguage): comment out some hard stuff.
6367
6368         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6369         (sgmlError): ditto
6370         (simpleDocBookOnePar): ditto
6371         (makeDocBookFile): use ParagraphList::iterator
6372
6373         * CutAndPaste.C (pasteSelection): adjust
6374
6375 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6376
6377         * text2.C (getFont): adjust
6378         (getLayoutFont): adjust
6379         (getLabelFont): adjust
6380
6381         * paragraph_funcs.C (TeXOnePar): adjust
6382
6383         * buffer.C (simpleLinuxDocOnePar): adjust
6384         (simpleDocBookOnePar): adjust
6385
6386         * CutAndPaste.C (pasteSelection): adjust
6387
6388         * BufferView.C (getEncoding): adjust
6389
6390         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6391
6392 2003-04-16  John Levon  <levon@movementarian.org>
6393
6394         * lyxfind.C: use parlist stuff for search/changes
6395
6396 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6397
6398         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6399
6400         * text2.C (deleteEmptyParagraphMechanism): adjust
6401
6402         * text2.[Ch] (ownerParagraph): delete func (both of them
6403
6404 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6405
6406         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6407
6408 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6409
6410         * ParagraphList.C: prepare for NO_NEXT
6411
6412 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6413
6414         * text2.C (getFont): adjust
6415         (getLayoutFont): adjust
6416         (getLabelFont): adjust
6417
6418         * paragraph.C (getFont): adjust
6419         (getLabelFont): adjust
6420         (getLayoutFont): adjust
6421
6422         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6423
6424 2003-04-15  John Levon  <levon@movementarian.org>
6425
6426         From Angus Leeming
6427
6428         * lyx_main.C: handle Include in .ui files
6429
6430 2003-04-15  John Levon  <levon@movementarian.org>
6431
6432         * MenuBackend.C: make the doc files length shorter
6433
6434         * ToolbarBackend.h:
6435         * ToolbarBackend.C: handle toolbar placement flags,
6436         Minibuffer
6437
6438 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6439
6440         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6441         adjust
6442
6443         * paragraph_funcs.C (TeXOnePar): adjust
6444
6445         * paragraph.C (getLabelFont): add outerfont arg, adjust
6446         (getLayoutFont): ditto
6447         (simpleTeXOnePar): adjust
6448
6449         * paragraph_pimpl.C (realizeFont): delete func
6450
6451 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6452
6453         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6454         row argument, constify cur argument.
6455
6456 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6457
6458         * text2.C (getFont): adjust
6459         (getLayoutFont): adjust
6460         (getLabelFont): adjust
6461
6462         * paragraph_funcs.C (TeXOnePar): adjust
6463         (outerFont): new func...
6464         (realizeFont): ...moved out from here, changed this to facilitate
6465         transition
6466
6467         * paragraph.C (getFont): take outerfont as arg, adjust
6468         (simpleTeXOnePar): add outerfont arg, adjust
6469
6470         * buffer.C (simpleLinuxDocOnePar): adjust
6471         (simpleDocBookOnePar): adjust
6472
6473         * CutAndPaste.C (pasteSelection): adjust
6474
6475         * BufferView.C (getEncoding): adjust
6476
6477 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6478
6479         * text2.C (setCharFont): adjust
6480         (setCounter): adjust
6481
6482         * text.C (leftMargin): adjust
6483         (setHeightOfRow): adjust
6484
6485         * rowpainter.C (paintFirst): adjust
6486         (paintLast): adjust
6487
6488         * paragraph_pimpl.C (realizeFont): adjust
6489
6490         * paragraph.C (isFirstInSequence): move from here...
6491         * paragraph_funcs.C (isFirstInSequence): ...to here
6492
6493         * paragraph.C (outerHook): move from here...
6494         * paragraph_funcs.C (outerHook): ...to here
6495
6496         * paragraph.C (depthHook): move from here...
6497         * paragraph_funcs.C (depthHook): ...to here
6498
6499         * paragraph.C (getEndLabel): move from here...
6500         * paragraph_funcs.C (getEndLabel): ...to here
6501
6502         * text2.C (realizeFont): move from here...
6503         * paragraph_funcs.C (realizeFont): ...to here
6504
6505 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6506
6507         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6508
6509 2003-04-14  Angus Leeming  <leeming@lyx.org>
6510
6511         * LColor.[Ch]: scrap LColor mathcursor.
6512
6513 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6514
6515         * lyxlex.[Ch] (text): delete function
6516         * trans.C (Load): adjust
6517         * paragraph_funcs.C (readParToken): adjust
6518
6519 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6520
6521         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6522         vector<char> instead of a char[].
6523
6524         * lyxlex_pimpl.C (getString): adjust
6525         (next): adjust
6526         (lex): use getString
6527         (eatLine): adjust
6528         (nextToken): adjust
6529
6530         * lyxlex.C (text): use pimpl_->getString()
6531         (getBool): ditto
6532         (findToken): ditto
6533
6534 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6535
6536         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6537         (makeFontEntriesLayoutSpecific): temp var for par.size()
6538         (setLayout): temp var for ownerParagraphs().end()
6539         (fullRebreak): temp var for rows().end()
6540         (selectionAsString): temp var for boost::next(startpit), realize
6541         that the while really is a regular for loop.
6542         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6543         setCursor in one place.
6544         (setParagraph): temp vr for ownerParagraphs().end()
6545         (updateCounters): make the while loop a for loop
6546         (cutSelection): temp var for ownerParagraphs().end()
6547         (updateInset): make the do {} while() a regular for loop
6548         (getCursorX): use temp vars
6549         (setCurrentFont): use temp vars
6550         (getColumnNearX): use temp vars
6551
6552 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6553
6554         * text.C (transformChar): use temp var for getChar
6555         (computeBidiTables): use temp var for row->par()
6556         (fill): move temp vars for row->par() and pit->layout() earlier in
6557         the function.
6558         (labelFill): use temp var for row->par()
6559         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6560         asc and desc, realize that pit never changes and that firstpit is
6561         just a duplicate and not needed. Exchange rit->par() with pit in a
6562         lot of places.
6563         (breakAgain): use a temp var for boost::next(rit)
6564         (breakAgainOneRow): ditto
6565         (breakParagraph): use a temp var for rows().begin()
6566         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6567         (cursorRightOneWord): use temp var for cursor.par() and
6568         cursor.pos(), remove usage of tmpcursor.
6569         (cursorLeftOneWord): use temp var for cursor.par() and
6570         cursor.pos() only set cur at end of function.
6571
6572 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6573
6574         * text.C, text2.C: exchange all usage of Paragraph::next with
6575         boost::next(ParagraphList::iterator)
6576
6577         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6578
6579         * text2.C (cursorTop): simplify implementation
6580         (cursorBottom): ditto
6581         (setParagraph): use ParagraphList::iterator
6582         (setCurrentFont): adjust
6583         (getColumnNearX): adjust
6584         (cursorRight): adjust
6585         (cursorLeft): remove usage of Paragraph::previous
6586         (cursorUpParagraph): ditto
6587         (deleteEmptyParagraphMechanism): slight cleanup
6588
6589         * text.C (isBoundary): take a Paragraph const & instead of a
6590         pointer as arg.
6591         (addressBreakPoint): ditto
6592         (leftMargin): remove usage of Paragraph::previous.
6593         (setHeightOfRow): ditto
6594         (cursorLeftOneWord): ditto
6595         (selectNextWordToSpellcheck): ditto
6596         (Delete): ditto
6597         (backspace): ditto
6598         (breakParagraph): remove one usage of Paragraph::next
6599         (redoParagraph): ditto
6600         (acceptChange): ditto
6601         (insertChar): adjust
6602         (rowBreakPoint): adjust
6603
6604         * bufferview_funcs.C (toggleAndShow): adjust
6605
6606 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6607
6608         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6609         methods to access it.
6610         * lyxtext.h:
6611         * text.C: Added updateRowPositions to compute all row positions.
6612         Make top_y and getRowNearY() to use the cached y position
6613
6614 2003-04-11  John Levon  <levon@movementarian.org>
6615
6616         * text.C (rowBreakPoint): reintroduce the labelEnd
6617         checks, code copied from the row fill stuff. Deep voodoo.
6618
6619         * text.C (fill): add a comment and debugging for the
6620         next poor soul.
6621
6622 2003-04-11  John Levon  <levon@movementarian.org>
6623
6624         * text.C: make sure fullrow insets get wrapped to the next line,
6625         even when they're in a manual label
6626
6627 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6628
6629         * text2.C (insertParagraph): make it take ParagraphList::iterator
6630         as arg.
6631         (setLayout): make it return ParagraphList::iterator
6632         (redoParagraphs): ditto
6633         (setCounter): ditto
6634         (checkParagraph): ditto
6635
6636         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6637
6638         * text2.C: adjust several funcs.
6639         (realizeFont): take a ParagraphList::iterator as arg.
6640         (getLayoutFont): ditto
6641         (getLabelFont): ditto
6642         (setCharFont): ditto
6643
6644         * text.C: adjust several funcs.
6645
6646 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6647
6648         * text.C (selectNextWordToSpellcheck): don't accidentally
6649         skip insets
6650
6651 2003-04-10  John Levon  <levon@movementarian.org>
6652
6653         * ToolbarBackend.C (getIcon): special handling for
6654         LFUN_MATH_DELIM
6655
6656 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6657
6658         * text2.C (cursorRight): a getChar assert fixed
6659
6660 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6661
6662         * text2.C (getFont): change to take a ParagraphList::iterator
6663         instead of Paragraph*
6664         Adjust several functions.
6665
6666         * text.C (transformChar): change to take a ParagraphList::iterator
6667         instead of Paragraph*
6668         (singleWidth): ditto
6669         Adjust several functions.
6670
6671         * rowpainter.C: adjust several functions
6672         * rowpainter.h:store a ParagraphList::iterator and not a
6673         Paragraph&.
6674
6675
6676 2003-04-09  John Levon  <levon@movementarian.org>
6677
6678         * lyxfunc.C:
6679         * lfuns.h:
6680         * LyXAction.h:
6681         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6682         and the "help" bits as well
6683
6684 2003-04-09  John Levon  <levon@movementarian.org>
6685
6686         * ToolbarBackend.h:
6687         * ToolbarBackend.C: allow multiple toolbars
6688
6689 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6690
6691         * undo_funcs.C (setCursorParUndo): adjust
6692
6693         * text_funcs.C (transposeChars): adjust
6694
6695         * text3.C (gotoNextInset): adjust
6696         (dispatch): adjust
6697
6698         * text2.C (setLayout): adjust
6699         (changeDepth): adjust
6700         (setFont): adjust
6701         (redoParagraphs): adjust
6702         (selectionAsString): adjust
6703         (setParagraph): adjust
6704         (insertInset): adjust
6705         (cutSelection): adjust
6706         (copySelection): adjust
6707         (pasteSelection): adjust
6708         (insertStringAsLines): adjust
6709         (updateInset): adjust
6710         (setCursor): change to take a ParagraphList::iterator parameter
6711         (setCursorIntern): change to take a ParagraphList::iterator parameter
6712         (setCurrentFont): adjust
6713         (cursorLeft): adjust
6714         (cursorRight): adjust
6715         (deleteEmptyParagraphMechanism): adjust
6716
6717         * text.C (breakParagraph): adjust
6718         (insertChar): adjust
6719         (acceptChange): adjust
6720         (rejectChange): adjust
6721         (selectNextWordToSpellcheck): adjust
6722         (changeCase): adjust
6723         (Delete): adjust
6724         (backspace): adjust
6725
6726         * lyxfind.C (SearchForward): adjust
6727         (SearchBackward): adjust
6728         (nextChange): adjust
6729
6730         * lyxcursor.C (par): adjust
6731
6732         * lyxcursor.h: store a ParagraphList::iterator instead of a
6733         Paragraph*
6734
6735         * lyx_cb.C (getPossibleLabel): adjust
6736
6737         * bufferview_funcs.C (toggleAndShow): adjust
6738
6739         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6740         (dispatch): adjust
6741
6742         * BufferView.C (removeAutoInsets): adjust
6743         (lockedInsetStoreUndo): adjust
6744
6745 2003-04-09  John Levon  <levon@movementarian.org>
6746
6747         * ToolbarBackend.C: try icon without argument
6748         if with argument fails
6749
6750 2003-04-08  John Levon  <levon@movementarian.org>
6751
6752         * ToolbarBackend.h:
6753         * ToolbarBackend.C: add getIcon(), handle tooltip,
6754         and change from "Icon" to "Item".
6755
6756 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6757
6758         * BufferView.C (lockInset): another bad getchar crunched
6759
6760 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6761
6762         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6763         again)
6764
6765 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6766
6767         * lyxfind.C (searchForward, searchBackwards): bug 782
6768
6769 2003-04-07  John Levon  <levon@movementarian.org>
6770
6771         * paragraph.C: remove dead comment
6772
6773         * text.C: remove troublesome depth-fiddling code
6774         in leftMargin() and rightMargin() (bug 1017)
6775
6776         * text.C: fix breaking of rows in nested lists
6777         (bug 1004)
6778
6779         * text2.C (updateCounters): fix up depth values
6780         (bug 1013)
6781
6782 2003-04-07  John Levon  <levon@movementarian.org>
6783
6784         * BufferView_pimpl.C: clear message when doc finishes resizing,
6785         and after a mouse event
6786
6787         * lyxfunc.C: clear message after exiting inset
6788
6789 2003-04-07  John Levon  <levon@movementarian.org>
6790
6791         * bufferview_funcs.C: show math status not outside
6792         status in the statusbar
6793
6794 2003-04-07  John Levon  <levon@movementarian.org>
6795
6796         * lyxfunc.C: note status changed after a depth change
6797
6798 2003-04-04  Angus Leeming  <leeming@lyx.org>
6799
6800         * LaTeX.h: move AuxInfo operator==, != out of line.
6801         Remove LaTeX virtual destructor; nothing derives from it.
6802         Move operator()() out of public area and rename it startscript().
6803         Change protected for private.
6804
6805 2003-04-04  Angus Leeming  <leeming@lyx.org>
6806
6807         * lyxfunc.C:
6808         * text2.C: remove unneeded #includes.
6809
6810 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6811
6812         * text2.C (dEPM): fix the heigth of the next row
6813
6814 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6815
6816         * text.C: squashed an invalid getChar requester + some ws changes
6817
6818 2003-04-03  John Levon  <levon@movementarian.org>
6819
6820         * bufferview_funcs.h:
6821         * bufferview_funcs.C:
6822         * lyxfunc.C:
6823         * lyxtext.h:
6824         * text2.C: make getStatus work for the env depth lfuns
6825
6826 2003-04-03  John Levon  <levon@movementarian.org>
6827
6828         * bufferview_funcs.h:
6829         * bufferview_funcs.C:
6830         * lyxfunc.C:
6831         * lyxtext.h:
6832         * text2.C: parlistize decDepth(), by merging it with incDepth()
6833
6834 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6835
6836         * lyxrow.h: store a ParagraphList::iterator instead of a
6837         Paragraph* and adjust other class functions to suit.
6838
6839         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6840         above.
6841
6842 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6843
6844         * text2.C (setCursor): do not anchor to cursor row for the time being
6845
6846 2003-04-02  John Levon  <levon@movementarian.org>
6847
6848         * LyXAction.C:
6849         * lfuns.h:
6850         * lyx_main.C:
6851         * lyxtext.h:
6852         * text.C:
6853         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6854
6855 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6856
6857         * paragraph.h: make ParagraphList and ParagraphList::iterator
6858         friends of Paragraph.
6859
6860         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6861
6862         * ParagraphList.C: Use the private next_ and previous_ from
6863         Paragraph.
6864
6865 2003-04-01  John Levon  <levon@movementarian.org>
6866
6867         * ToolbarBackend.h:
6868         * ToolbarBackend.C:
6869         * Makefile.am: rename, remove defaults gunk
6870
6871         * MenuBackend.h:
6872         * MenuBackend.C: remove defaults gunk
6873
6874         * Languages.h:
6875         * Languages.C: remove defaults gunk
6876
6877         * lyx_main.h:
6878         * lyx_main.C: error out if files couldn't be found.
6879
6880 2003-04-02  John Levon  <levon@movementarian.org>
6881
6882         * text2.C: make incDepth() use parlist
6883
6884 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6885
6886         * undo_funcs.C (firstUndoParagraph): adjust
6887
6888         * text3.C (gotoInset): adjust
6889         (dispatch): adjust, and rewrite loop.
6890
6891         * text2.C (init): adjust, and rewrite loop.
6892         (redoParagraphs): adjust
6893         (updateInset): adjust, and rewrite loop.
6894         (deleteEmptyParagraphMechanism): adjust
6895
6896         * tabular.C (LyXTabular): adjust
6897         (SetMultiColumn): adjust
6898         (TeXRow): adjust
6899
6900         * lyxtext.[Ch] (ownerParagraph): delete function
6901         (ownerParagraphs): new function returns a ParagraphList.
6902
6903         * BufferView.C (removeAutoInsets): adjust
6904         (insertErrors): adjust
6905         (setCursorFromRow): adjust
6906
6907 2003-04-01  Angus Leeming  <leeming@lyx.org>
6908
6909         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6910         in the frontends.
6911
6912 2003-04-02  John Levon  <levon@movementarian.org>
6913
6914         * lyxtext.h:
6915         * text.C:
6916         * Makefile.am:
6917         * text_funcs.h:
6918         * text_funcs.C: make transposeChars a free function
6919
6920         * lyxrow_funcs.C: remove wrong comment
6921
6922 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6923
6924         * lyxtext.h: adjust
6925         * rowpainter.C: adjust
6926         * text.C: adjust
6927         * text2.C: adjust
6928         * text3.C: adjust
6929
6930         * lyxrow_funcs. [Ch]: new files
6931
6932         * lyxrow.[Ch]: remove next and previous pointers
6933         (next,previous): remove accessor functions
6934         (isParEnd): move to lyxrow_funcs
6935         (lastPos): move to lyxrow_funcs
6936         (nextRowIsAllInset): move to lyxrow_funcs
6937         (lastPrintablePos): move to lyxrow_funcs
6938         (numberOfSeparators): move to lyxrow_funcs
6939         (numberOfHfills): move to lyxrow_funcs
6940         (numberOfLabelHfills): move to lyxrow_funcs
6941         (hfillExpansion): move to lyxrow_funcs
6942
6943         * lyxfunc.C: adjust
6944
6945         * bufferview_funcs.C (toggleAndShow): adjust
6946
6947         * RowList.h: Remove class RowList from file leave just a
6948         std::list<Row>.
6949
6950         * RowList.C: delete file
6951
6952         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6953         and lyxrow_funcs.h
6954
6955 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6956
6957         * text3.C (cursorPrevious): adjust
6958         (cursorNext): adjust
6959         (dispatch): adjust
6960
6961         * text2.C (redoHeightOfParagraph): adjust
6962         (redoDrawingOfParagraph): adjust
6963         (setCursor): adjust
6964
6965         * text.C (breakParagraph): adjust
6966         (insertChar): adjust
6967         (backspace): adjust
6968
6969         * rowpainter.C (RowPainter): adjust
6970         (leftMargin): simplify and adjust
6971         (most rowpainter functions): adjust.
6972
6973         * rowpainter.h: store the row as RowList::iterator not as Row*
6974
6975         * lyxcursor.C (row): taka RowList::iterator as arg
6976         (irow): ditto
6977
6978         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6979         of Row*.
6980
6981 2003-04-01  Angus Leeming  <leeming@lyx.org>
6982
6983         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6984         stuff like bool Bool.
6985
6986 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6987
6988         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6989         rewrite a loop
6990
6991 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6992
6993         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6994         RowList::iterator.
6995
6996         * lyxtext.h (rows): drop one version and leve a const variant that
6997         returns a RowList::iterator.
6998
6999 2003-03-31  Angus Leeming  <leeming@lyx.org>
7000
7001         * text.C (fill): ensure that the signature is the same as that in the
7002         header file.
7003
7004 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7005
7006         * text2.C (redoParagraphs): adjust
7007         (updateCounters): adjust
7008         (checkParagraph): adjust
7009         (getColumnNearX): adjust and reformat a bit.
7010
7011         * text.C (top_y): adjust
7012         (workWidth): adjust
7013         (leftMargin): adjust
7014         (prepareToPrint): adjust
7015         (getRow): adjust
7016         (getRowNearY): adjust
7017
7018         * lyxtext.h: make rowlist_ mutable.
7019
7020         * RowList.h: add const_iterator
7021         * RowList.C: adjust for RowList::const_iterator.
7022
7023         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7024         adjust.
7025
7026 2003-03-31  John Levon  <levon@movementarian.org>
7027
7028         * lyxrc.h:
7029         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7030
7031         * lyx_main.C: set default fonts from using lyx_gui funcs
7032
7033         * exporter.C: pdf_mode moved from lyxrc
7034
7035         * lyx_cb.C:
7036         * lyxfunc.C: changes from above
7037
7038 2003-03-31  John Levon  <levon@movementarian.org>
7039
7040         * lyx_main.C: fix to the last fix
7041
7042 2003-03-31  John Levon  <levon@movementarian.org>
7043
7044         * bufferlist.C: "Load original" -> "Load Original"
7045
7046         * converter.C:
7047         * exporter.C:
7048         * importer.C:
7049         * lyx_main.C:
7050         * format.C: more Alert cleanups
7051
7052 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7053
7054         * text2.C (removeParagraph): make it take a RowList::iterator as
7055         arg, adjust.
7056         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7057         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7058
7059         * text.C (anchor_row): make it take a RowList::iterator as arg,
7060         adjust.
7061         (computeBidiTables): make it take a const reference to Row instead
7062         of Row pointer, adjust.
7063         (leftMargin): make it take a RowList::iterator as arg, adjust.
7064         (rowBreakPoint): adjust
7065         (breakAgainOneRow): make it take a RowList::iterator as arg,
7066         adjust.
7067         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7068
7069         * bufferview_funcs.C (toggleAndShow): adjust
7070
7071 2003-03-30  John Levon  <levon@movementarian.org>
7072
7073         * Makefile.am:
7074         * BoostFormat.h:
7075         * boost-inst.C: moved to support
7076
7077         * several files: changes as a result
7078
7079 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7080
7081         * text2.C (LyXText): adjust.
7082         (init): adjust
7083         (removeRow): make it take a RowList::iterator as arg, adjust.
7084         (fullRebreak): adjust
7085         (deleteEmptyParagraphMechanism): adjust
7086         (clearPaint): adjust
7087         (postPaint): adjust
7088
7089         * text.C (top_y): adjust
7090         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7091         (breakAgain): make it take a RowList::iterator as arg, adjust.
7092         (breakParagraph): adjust
7093         (insertChar): adjust
7094         (backspace): adjust
7095
7096         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7097         need_break_row, and refresh_row.
7098
7099         * text3.C (dispatch): adjust
7100
7101         * text2.C (checkParagraph): adjust
7102         (setCursor): adjust
7103         (setCursorFromCoordinates): adjust
7104
7105         * text.C (top_y): adjust
7106         (workWidth): adjust
7107         (getRow): make it return a RowList::iterator, adjust
7108         (getRowNearY): make it return a RowList::iterator, adjust
7109
7110         * text2.C (init): adjust
7111         (insertRow): remove function
7112         (insertParagraph): adjust
7113         (redoParagraphs): adjust
7114         (fullRebreak): adjust
7115         (updateCounters): adjust
7116
7117         * text.C (top_y): rewrite to use RowList iterators.
7118         (top_y): adjust
7119         (setHeightOfRow): rewrite to sue RowList iterators.
7120         (appendParagraph): adjust
7121         (breakAgain): adjust
7122         (breakAgainOneRow): adjust
7123         (breakParagraph): adjust
7124         (getRow): adjust
7125         (getRowNearY): adjust, and remove commented code.
7126
7127         * lyxtext.h (firstRow): delete function
7128         (lastRow): delete function
7129         (rows): new function (const and non-const versions.)
7130         (insertRow): delete function
7131
7132         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7133
7134 2003-03-29  John Levon  <levon@movementarian.org>
7135
7136         * BufferView_pimpl.C: always update scrollbar top
7137         because pasting text when we're anchored could mean we
7138         miss an update altogether
7139
7140 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7141
7142         * text2.C (init): use rowlist_.end() and not 0.
7143         (insertRow): change to take a RowList::iterator as arg, adjust
7144         for this.
7145         (insertParagraph): change to take a RowList::iterator as arg,
7146         adjust for this.
7147         (redoParagraphs): remove some debug msgs.
7148
7149         * text.C (appendParagraph): change to take a RowList::iterator
7150         arg, adjust for this.
7151         (breakAgain): add an assert
7152         (breakAgainOneRow): ditto
7153
7154 2003-03-29  John Levon  <levon@movementarian.org>
7155
7156         * text2.C: do not clear selection after inc/decDepth
7157         (bug 550)
7158
7159 2003-03-29  John Levon  <levon@movementarian.org>
7160
7161         * BufferView.C:
7162         * buffer.C: fix broken strerrors according to Lars
7163
7164 2003-03-29  John Levon  <levon@movementarian.org>
7165
7166         * converters.C: more Alert cleanups
7167
7168 2003-03-29  John Levon  <levon@movementarian.org>
7169
7170         * bufferview_funcs.C: remove pointless Alert
7171
7172         * buffer.C: fix confusing error message when
7173         a template is chmoded 000
7174
7175 2003-03-29  John Levon  <levon@movementarian.org>
7176
7177         * BufferView.C:
7178         * BufferView.h:
7179         * BufferView_pimpl.C: Alert fixes
7180
7181         * Makefile.am:
7182         * tabular.C:
7183         * tabular-old.C: remove unused table compat reading
7184
7185 2003-03-29  John Levon  <levon@movementarian.org>
7186
7187         * BufferView.C:
7188         * buffer.C:
7189         * lyx_cb.h:
7190         * lyx_cb.C: more Alert cleanups
7191
7192         * lyxfunc.C: don't allow chktex if not latex document
7193
7194 2003-03-29  John Levon  <levon@movementarian.org>
7195
7196         * lyx_cb.C:
7197         * BufferView.C:
7198         * buffer.C: warnings pushed down from support/,
7199         kill err_alert
7200
7201 2003-03-29  John Levon  <levon@movementarian.org>
7202
7203         * lyxfunc.C: safety check for C-r (revert)
7204
7205 2003-03-29  John Levon  <levon@movementarian.org>
7206
7207         * bufferlist.h:
7208         * bufferlist.C: several UI fixes using Alert::prompt.
7209         Fix the pointless looping quit code. Fix stupid revert
7210         behaviour (bug 938)
7211
7212         * lyxvc.h:
7213         * lyxvc.C:
7214         * lyx_cb.C: use Alert::prompt
7215
7216         * lyx_main.C: remove a silly question
7217
7218         * lyxfunc.C: remove a couple of silly questions,
7219         use Alert::prompt
7220
7221 2003-03-28  John Levon  <levon@movementarian.org>
7222
7223         * text2.C: fix bug 974 (End on empty par)
7224
7225 2003-03-28  John Levon  <levon@movementarian.org>
7226
7227         * BufferView_pimpl.C:
7228         * LyXAction.C:
7229         * lfuns.h: remove do-nothing math greek lfuns
7230
7231 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7232
7233         * lyxgluelength.h (isValidGlueLength): add default arg on
7234         parameter 2. Remove default arg from friend in class.
7235
7236         * lyxlength.h (isValidLength): add default arg on parameter 2.
7237         Remove default arg from friend in class.
7238
7239         * text2.C (LyXText): adjust, initialize refresh_row.
7240         (init): adjust
7241         (removeRow): adjust
7242         (insertRow): adjust
7243         (insertParagraph): adjst
7244         (redoParagraphs): adjust
7245         (fullRebreak): adjust
7246         (updateCounters): adjust
7247         (deleteEmptyParagraphMechanism): first attempt at fixing a
7248         crashing bug.
7249
7250         * text.C (top_y): adjust
7251         (setHeightOfRow): adjust
7252         (getRow): adjust
7253         (getRowNearY): adjust
7254
7255         * lyxtext.h: include RowList.h
7256         (~LyXText): not needed anymore, deleted.
7257         (firstRow): modify for RowList
7258         (lastRow): new function
7259         Delete firstrow and lastrow class variables, add a Rowlist
7260         rowlist_ class variable.
7261
7262         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7263         paragraph is empty.
7264
7265         * RowList.C (insert): fix case where it == begin().
7266
7267 2003-03-26  Angus Leeming  <leeming@lyx.org>
7268
7269         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7270         the thesaurus dialog.
7271
7272 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7273
7274         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7275
7276         * RowList.[Ch]: new files
7277
7278         * ParagraphList.C (erase): handle the case where it == begin
7279         correctly.
7280
7281 2003-03-25  John Levon  <levon@movementarian.org>
7282
7283         * Makefile.am:
7284         * aspell_local.h:
7285         * aspell.C: add new aspell support
7286
7287         * lyxrc.h:
7288         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7289         have it accessible.
7290
7291 2003-03-25  Angus Leeming  <leeming@lyx.org>
7292
7293         * lfuns.h:
7294         * LyXAction.C (init): new LFUN_INSET_INSERT.
7295
7296         * BufferView_pimpl.C (dispatch): split out part of the
7297         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7298
7299         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7300         LFUN_INSET_APPLY.
7301
7302 2003-03-25  Angus Leeming  <leeming@lyx.org>
7303
7304         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7305
7306 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7307
7308         * text2.C:
7309         * text3.C: remove useless row->height(0)
7310
7311 2003-03-25  John Levon  <levon@movementarian.org>
7312
7313         * lyxtext.h:
7314         * text2.C:
7315         * text3.C: rename the refreshing stuff to better names
7316
7317 2003-03-24  John Levon  <levon@movementarian.org>
7318
7319         * BufferView_pimpl.h:
7320         * BufferView_pimpl.C: update layout choice on a mouse
7321         press/release
7322
7323 2003-03-23  John Levon  <levon@movementarian.org>
7324
7325         * Makefile.am: fix commandtags.h reference
7326
7327 2003-03-22  John Levon  <levon@movementarian.org>
7328
7329         * BufferView_pimpl.C:
7330         * lyxtext.h:
7331         * rowpainter.C:
7332         * rowpainter.h:
7333         * text.C:
7334         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7335
7336 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7337
7338         * lyxtext.h:
7339         * text.C: take the rtl methods out of line
7340
7341 2003-03-21 André Pönitz <poenitz@gmx.net>
7342
7343         * metricsinfo.[Ch]: new files containing structures to be passed around
7344         during the two-phase-drawing...
7345
7346 2003-03-21 André Pönitz <poenitz@gmx.net>
7347
7348         * lyxtextclass.C: read 'environment' tag.
7349
7350 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7351
7352         * text2.C (removeRow): fix bug 964
7353
7354 2003-03-20  John Levon  <levon@movementarian.org>
7355
7356         * rowpainter.C:
7357         * text.C:
7358         * text2.C: paint cleanups. Inset::update() dropped font
7359         parameter
7360
7361 2003-03-19  John Levon  <levon@movementarian.org>
7362
7363         * lyxfunc.C: only fitcursor/markDirty if available()
7364
7365 2003-03-19  John Levon  <levon@movementarian.org>
7366
7367         * commandtags.h: rename to ...
7368
7369         * lfuns.h: ... this, and renumber / cleanup
7370
7371 2003-03-19  John Levon  <levon@movementarian.org>
7372
7373         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7374         fit the cursor after an lfun
7375
7376         * BufferView.h:
7377         * BufferView.C:
7378         * BufferView_pimpl.h:
7379         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7380
7381         * LyXAction.C: layout-character should have ReadOnly
7382
7383         * ParagraphParameters.C:
7384         * buffer.C:
7385         * bufferview_funcs.C:
7386         * lyx_cb.C:
7387         * lyxfind.C:
7388         * lyxtext.h:
7389         * text.C:
7390         * text2.C:
7391         * text3.C:
7392         * undo_funcs.C: changes from above
7393
7394 2003-03-18  John Levon  <levon@movementarian.org>
7395
7396         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7397         remove it from update()
7398
7399         * lyxfunc.C: update layout choice after an lfun
7400
7401         * text3.C: remove extra updateLayoutChoice()s
7402
7403 2003-03-18  John Levon  <levon@movementarian.org>
7404
7405         * text.C: top_y change means full repaint, fix
7406         a drawing bug with cursor movement
7407
7408 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7409
7410         * lyxtext.h:
7411         * text.C:
7412         * text2.C: anchor row on setCursor
7413
7414 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7415
7416         * lyxtext.h: remove almost all mutable keywords
7417         * text.C:
7418         * text2.C:
7419         * text3.C: remove const keywords accordingly
7420
7421 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7422
7423         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7424         anon namespace
7425         (TeXEnvironment): ditto
7426         (TeXOnePar): ditto
7427
7428 2003-03-17  John Levon  <levon@movementarian.org>
7429
7430         * text.C (rowBreakPoint): remove attempt to fix displayed
7431         math insets inside a manual label
7432
7433 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7434
7435         * lyxtext.h: remove BufferView* as first arg from almost all class
7436         functions.
7437         * other files: adjust.
7438
7439 2003-03-17  John Levon  <levon@movementarian.org>
7440
7441         * lyxtext.h:
7442         * undo_funcs.C:
7443         * text2.C: more paint cleanups
7444
7445         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7446
7447         * rowpainter.h:
7448         * rowpainter.C: remove "smart" background painting code
7449
7450 2003-03-16  John Levon  <levon@movementarian.org>
7451
7452         * lyxtext.h:
7453         * text.C:
7454         * text2.C:
7455         * text3.C: add helper functions for setting refresh_row/y
7456
7457 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7458
7459         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7460         newline inset which *can* get inserted in the pass_thru layouts.
7461         This is primarily for literate documents.
7462
7463 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7464
7465         * buffer.C: increment LYX_FORMAT to 223
7466
7467 2003-03-14 André Pönitz <poenitz@gmx.net>
7468
7469         * textclass.h: prepare for environment handling, ws changes
7470         * lyxlayout.C: read latexheader and latexfooter tags
7471
7472 2003-03-14  John Levon  <levon@movementarian.org>
7473
7474         * text2.C: rewrite ::status() a bit
7475
7476 2003-03-13  John Levon  <levon@movementarian.org>
7477
7478         * lyxtext.h: add some docs
7479
7480 2003-03-13  John Levon  <levon@movementarian.org>
7481
7482         * lyxtext.h:
7483         * text.C:
7484         * text2.C:
7485         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7486
7487 2003-03-13  John Levon  <levon@movementarian.org>
7488
7489         * text3.C: fix appendix redrawing
7490
7491 2003-03-13  John Levon  <levon@movementarian.org>
7492
7493         * text.C (setHeightOfRow):
7494         * rowpainter.h:
7495         * rowpainter.C: make appendix mark have the text
7496           "Appendix" so the user knows what it is
7497
7498         * LColor.h:
7499         * LColor.C: s/appendixline/appendix/ from above
7500
7501 2003-03-13  John Levon  <levon@movementarian.org>
7502
7503         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7504
7505         * text.C: fix a getChar(pos) bug properly
7506
7507 2003-03-13  Angus Leeming  <leeming@lyx.org>
7508
7509         * commandtags.h:
7510         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7511         Probably only temporary. Let's see how things pan out.
7512
7513         * BufferView.C (unlockInset):
7514         * BufferView_pimpl.C (fitCursor):
7515         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7516
7517         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7518         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7519
7520         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7521         new functions that convert ParagraphParameters to and from a string.
7522
7523         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7524         BufferView::Pimpl's dispatch.
7525         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7526
7527 2003-03-13 André Pönitz <poenitz@gmx.net>
7528
7529         * lyxfunc.C:
7530         * text3.C:
7531         * factory.C: make it aware of InsetEnv
7532
7533 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7534
7535         * text2.C (setCursor): never ask for one past last
7536         (setCursor): add some debugging messages.
7537
7538         * text.C (singleWidth): never ask for one past last
7539         (singleWidth): ditto
7540         (leftMargin): ditto
7541         (rightMargin): ditto
7542         (rowBreakPoint): ditto
7543         (setHeightOfRow): ditto
7544         (prepareToPrint): ditto
7545
7546         * rowpainter.C (paintBackground): never ask for one past last
7547         (paintText): never ask for one past last
7548
7549         * paragraph_pimpl.C (getChar): make the assert stricter, never
7550         allow the one past last pos to be taken
7551
7552         * paragraph.C (getChar): ws changes only
7553
7554         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7555         (numberOfSeparators): ditto
7556         (numberOfHfills): ditto
7557
7558 2003-03-12  John Levon  <levon@movementarian.org>
7559
7560         * author.h:
7561         * author.C:
7562         * bufferparams.h:
7563         * bufferparams.C:
7564         * paragraph_funcs.C: fix per-buffer authorlists
7565
7566 2003-03-12  John Levon  <levon@movementarian.org>
7567
7568         * text.C: fix newline in right address
7569
7570 2003-03-12  Angus Leeming  <leeming@lyx.org>
7571
7572         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7573         duplicate those in LyXFunc::dispatch.
7574
7575         * commandtags.h:
7576         * LyXAction.C:
7577         * ToolbarDefaults.C:
7578         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7579         Add LFUN_FONTFREE_UPDATE.
7580
7581         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7582         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7583
7584         * bufferview_func.[Ch]: several new functions to facilliate
7585         transfer of data to and from the character dialog.
7586
7587 2003-03-12  John Levon  <levon@movementarian.org>
7588
7589         * buffer.C:
7590         * paragraph.h:
7591         * paragraph.C:
7592         * paragraph_funcs.C:
7593         * paragraph_pimpl.C:
7594         * sgml.C:
7595         * tabular.C:
7596         * text.C:
7597         * text3.C: remove META_NEWLINE in favour of an inset
7598
7599         * rowpainter.h:
7600         * rowpainter.C: remove paintNewline (done by inset)
7601
7602 2003-03-12  John Levon  <levon@movementarian.org>
7603
7604         * paragraph_pimpl.C: complain about bad getChar()s
7605         for a while at least
7606
7607 2003-03-12  John Levon  <levon@movementarian.org>
7608
7609         * buffer.h:
7610         * buffer.C: move paragraph read into a separate function,
7611         a little renaming to reflect that.
7612
7613         * bufferparams.h:
7614         * bufferparams.C: remove the author_ids map, not necessary now
7615
7616         * factory.h:
7617         * factory.C: moved Buffer::readInset to here
7618
7619         * paragraph_funcs.h:
7620         * paragraph_funcs.C: readParagraph free function moved from
7621         buffer.C
7622
7623         * tabular.C: name change
7624
7625 2003-03-12  John Levon  <levon@movementarian.org>
7626
7627         * buffer.C:
7628         * ParagraphParameters.C: move par params input to
7629         a read() method
7630
7631         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7632         behave like a normal read from the stream wrt reading
7633         a line vs. a \\token
7634
7635 2003-03-12  John Levon  <levon@movementarian.org>
7636
7637         * paragraph.C:
7638         * ParagraphParameters.h:
7639         * ParagraphParameters.C: move output code to a
7640         ::write() method
7641
7642 2003-03-12  John Levon  <levon@movementarian.org>
7643
7644         * BufferView.C (insertLyXFile):
7645         * buffer.h:
7646         * buffer.C:
7647         * tabular.C: use a parlist iterator for creating the
7648           document.
7649
7650 2003-03-12  John Levon  <levon@movementarian.org>
7651
7652         * buffer.C: make current_change static local not
7653           static file-scope
7654
7655 2003-03-12  John Levon  <levon@movementarian.org>
7656
7657         * buffer.C: fix insertStringAsLines for change tracking
7658
7659 2003-03-12  John Levon  <levon@movementarian.org>
7660
7661         * BufferView.C:
7662         * tabular.C:
7663         * buffer.h:
7664         * buffer.C:
7665         * bufferparams.h:
7666         * bufferparams.C: move author list into params. Rename some
7667           functions. Move the header reading into a separate token
7668           loop. Move the header token reading into BufferParams.
7669
7670 2003-03-12  John Levon  <levon@movementarian.org>
7671
7672         * changes.C: put debug inside lyxerr.debugging() checks
7673
7674 2003-03-11 André Pönitz <poenitz@gmx.net>
7675
7676         * factory.C: make it aware of InsetHFill
7677
7678 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7679
7680         * buffer.C (latexParagraphs): move function from here...
7681         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7682         args.
7683
7684 2003-03-10  Angus Leeming  <leeming@lyx.org>
7685
7686         * LyXAction.C (init): fix bug in poplating array with multiple entries
7687         with the same LFUN (spotted by JMarc).
7688
7689 2003-03-10  John Levon  <levon@movementarian.org>
7690
7691         * text.C:
7692         * text2.C: move getColumnNearX() near its
7693         only call site
7694
7695 2003-03-10  John Levon  <levon@movementarian.org>
7696
7697         * text.C: fix break before a minipage
7698
7699 2003-03-10  John Levon  <levon@movementarian.org>
7700
7701         * text.C: fix the last commit
7702
7703 2003-03-09  John Levon  <levon@movementarian.org>
7704
7705         * lyxtext.h:
7706         * text.C:
7707         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7708         bug 365 (don't break before insets unless needed). Don't
7709         return a value > last under any circumstances.
7710
7711 2003-03-09  Angus Leeming  <leeming@lyx.org>
7712
7713         * BufferView_pimpl.C (trackChanges, dispatch): call
7714         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7715
7716 2003-03-09  Angus Leeming  <leeming@lyx.org>
7717
7718         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7719         than Dialogs::showAboutlyx().
7720
7721 2003-03-09  Angus Leeming  <leeming@lyx.org>
7722
7723         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7724         than Dialogs::showTabularCreate().
7725
7726 2003-03-09  John Levon  <levon@movementarian.org>
7727
7728         * lyxtext.h:
7729         * text.C:
7730         * text2.C: 3rd arg to nextBreakPoint was always the same.
7731           Use references.
7732
7733 2003-03-08  John Levon  <levon@movementarian.org>
7734
7735         * lyxrow.C:
7736         * paragraph.C:
7737         * paragraph.h:
7738         * rowpainter.C:
7739         * text.C:
7740         * text2.C: Remove the "main" bit from the "main body"
7741           notion.
7742
7743 2003-03-08  John Levon  <levon@movementarian.org>
7744
7745         * text.C (leftMargin): The left margin of an empty
7746         manual label paragraph should not include the label width
7747         string length.
7748
7749         * text.C (prepareToPrint): don't attempt to measure hfills
7750         for empty manual label paragraphs - the answer should be 0
7751
7752 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7753
7754         * CutAndPaste.C: remove commented code and reindent.
7755
7756 2003-03-08  John Levon  <levon@movementarian.org>
7757
7758         * lyxfunc.h:
7759         * lyxfunc.C: move reloadBuffer()
7760
7761         * BufferView.h:
7762         * BufferView.C: to here
7763
7764         * lyxvc.C: add comment
7765
7766         * vc-backend.h:
7767         * vc-backend.C: call bv->reload() to avoid
7768           getStatus() check on MENURELOAD
7769
7770 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7771
7772         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7773         to an old format .dep file.
7774
7775 2003-03-07  Angus Leeming  <leeming@lyx.org>
7776
7777         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7778         when the LFUN_MOUSE_RELEASE should have been handled by
7779         inset->localDispatch.
7780
7781 2003-03-07  Angus Leeming  <leeming@lyx.org>
7782
7783         * BufferView_pimpl.C (dispatch):
7784         * LyXAction.C (init):
7785         * ToolbarDefaults.C (init):
7786         * commandtags.h:
7787         * lyxfunc.C (getStatus):
7788         remove LFUN_INSET_GRAPHICS.
7789
7790         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7791
7792 2003-03-07  Angus Leeming  <leeming@lyx.org>
7793
7794         * commandtags.h:
7795         * LyXAction.C (init):
7796         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7797
7798         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7799
7800         * commandtags.h:
7801         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7802
7803         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7804         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7805
7806 2003-03-07  Angus Leeming  <leeming@lyx.org>
7807
7808         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7809         remove "ert".
7810
7811 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7812
7813         * ParagraphList.C (front): new function
7814         (back): implement
7815
7816 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7817
7818         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7819         and top_row_offset_. removed var first_y.
7820         * text.C (top_y):
7821         * text2.C (LyXText, removeRow):
7822         * text3.C:
7823         * BufferView_pimpl.C:
7824         use these methods instead of using first_y
7825
7826 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7827
7828         * text2.C (pasteSelection): adjust for checkPastePossible
7829
7830         * CutAndPaste.C: remove Paragraph * buf and replace with
7831         ParagraphList paragraphs.
7832         (DeleteBuffer): delete
7833         (cutSelection): change the tc type to textclass_type
7834         (copySelection): change the tc type to textclass_type
7835         (copySelection): adjust for ParagraphList
7836         (pasteSelection): change the tc type to textclass_type
7837         (pasteSelection): adjust for Paragraphlist
7838         (nrOfParagraphs): simplify for ParagraphList
7839         (checkPastePossible): simplify for ParagraphList
7840         (checkPastePossible): remove unused arg
7841
7842         * ParagraphList.C (insert): handle the case where there are no
7843         paragraphs yet.
7844
7845         * CutAndPaste.h: make CutAndPaste a namespace.
7846
7847         * text3.C (dispatch): adjust
7848
7849         * text.C (breakParagraph): add a ParagraphList as arg
7850
7851         * paragraph_funcs.C (breakParagraph): change to take a
7852         BufferParams and a ParagraphList as args.
7853         (breakParagraphConservative): ditto
7854         (mergeParagraph): ditto
7855         (TeXDeeper): add a ParagraphList arg
7856         (TeXEnvironment): ditto
7857         (TeXOnePar): ditto
7858
7859         * buffer.C (readLyXformat2): adjust
7860         (insertStringAsLines): adjust
7861         (latexParagraphs): adjust
7862
7863         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7864         (cutSelection): adjust
7865         (pasteSelection): adjust
7866
7867         * BufferView_pimpl.C (insertInset): adjust
7868
7869 2003-03-05  Angus Leeming  <leeming@lyx.org>
7870
7871         * commandtags.h:
7872         * LyXAction.C (init):
7873         * BufferView_pimpl.C (dispatch):
7874         * lyxfunc.C (getStatus):
7875         remove LFUN_CHILD_INSERT.
7876
7877         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7878
7879 2003-03-05  Angus Leeming  <leeming@lyx.org>
7880
7881         * commandtags.h:
7882         * LyXAction.C (init):
7883         * src/factory.C (createInset):
7884         * lyxfunc.C (getStatus):
7885         * text3.C (dispatch):
7886         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7887
7888         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7889
7890 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7891
7892         * ParagraphList.C (insert): handle insert right before end()
7893         (erase): fix cases where it can be first or last paragraph.
7894
7895 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7896
7897         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7898         Paragraph::next and Paragraph::previous
7899         (TeXOnePar): ditto
7900
7901         * text.C (breakParagraph): adjust
7902
7903         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7904         BufferParams& as arg.
7905         (breakParagraph): use ParagraphList::insert
7906         (breakParagraphConservative): take a Buffer* instead of a
7907         BufferParams& as arg.
7908         (breakParagraphConservative): use ParagraphList::insert.
7909
7910         * buffer.C (insertStringAsLines): un-const it
7911         (insertStringAsLines): adjust
7912
7913         * ParagraphList.C (insert): new function
7914
7915         * CutAndPaste.C (pasteSelection): adjust
7916
7917         * text.C (backspace): adjust
7918
7919         * tabular.C (SetMultiColumn): adjust
7920
7921         * CutAndPaste.C (cutSelection): adjust
7922         (pasteSelection): adjust
7923
7924         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7925         Buffer const * as arg
7926
7927         * ParagraphList.C (erase): new function
7928         * paragraph_funcs.C (mergeParagraph): use it
7929         (mergeParagraph): make it take a Buffer* instead of a
7930         BufferParams* as arg
7931
7932         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7933         as arg
7934         (breakParagraphConservative): ditto
7935
7936         * paragraph.h: remove the breakParagraph friend
7937
7938         * paragraph.C (eraseIntern): new function
7939         (setChange): new function
7940
7941         * paragraph_funcs.C (mergeParagraph): make it take a
7942         ParagraphList::iterator instead of a Paragraph *, adjust
7943         accordingly.
7944
7945         * paragraph.h: move an #endif so that the change tracking stuff
7946         also works in the NO_NEXT case.
7947
7948 2003-03-04  Angus Leeming  <leeming@lyx.org>
7949
7950         * commandtags.h:
7951         * LyXAction.C: new LFUN_INSET_MODIFY.
7952
7953         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7954         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7955
7956 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7957
7958         * several files: ws changes only
7959
7960         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7961         (TeXEnvironment): ditto
7962         (TeXDeeper): ditto
7963
7964         * buffer.C (makeLaTeXFile): adjust
7965         (latexParagraphs): make it take ParagraphList::iterator as args
7966
7967 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7968
7969         * buffer.C (latexParagraphs): adjust
7970
7971         * paragraph.C (TeXOnePar): move function...
7972         (optArgInset): move function...
7973         (TeXEnvironment): move function...
7974         * paragraph_pimpl.C (TeXDeeper): move function...
7975         * paragraph_funcs.C: ...here
7976
7977         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7978
7979 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7980
7981         * buffer.C (readInset): remove compability code for old Figure and
7982         InsetInfo insets
7983
7984 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7985
7986         * buffer.C: ws changes
7987         (readInset):
7988
7989         * BufferView_pimpl.C: ditto
7990         * author.C: ditto
7991         * buffer.h: ditto
7992         * bufferlist.h: ditto
7993         * changes.h: ditto
7994         * lyxfunc.C: ditto
7995
7996 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7997
7998         * converter.[Ch]: split into itself +
7999         * graph.[Ch]
8000         * format.[Ch]
8001         * Makefile.am: += graph.[Ch] + format.[Ch]
8002         * MenuBackend.C
8003         * buffer.C
8004         * exporter.C
8005         * importer.C
8006         * lyx_main.C
8007         * lyxfunc.C
8008         * lyxrc.C: added #include "format.h"
8009
8010 2003-02-27  Angus Leeming  <leeming@lyx.org>
8011
8012         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8013           a label.
8014
8015         * factory.C (createInset): add "label" to the factory.
8016
8017         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8018           string and do no more.
8019
8020 2003-02-27  Angus Leeming  <leeming@lyx.org>
8021
8022         * commandtags.h:
8023         * LyXAction.C (init):
8024         * factory.C (createInset):
8025         * BufferView_pimpl.C (dispatch):
8026           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8027
8028         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8029
8030         * lyxfunc.C (dispatch):
8031         * text3.C (dispatch): pass name to params2string.
8032
8033 2003-02-26  Angus Leeming  <leeming@lyx.org>
8034
8035         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8036           blocks together.
8037           Rearrange the ~includes. Strip out the unnecessary ones.
8038
8039         * factory.C (createInset): reformat.
8040           create new insets for the various LFUN_XYZ_APPLY lfuns.
8041
8042 2003-02-26  John Levon  <levon@movementarian.org>
8043
8044         * lyxrow.h:
8045         * lyxrow.C: add isParStart,isParEnd helpers
8046
8047         * paragraph.h: make isInserted/DeletedText take refs
8048
8049         * paragraph_funcs.h:
8050         * paragraph_funcs.C: remove #if 0'd code
8051
8052         * lyxtext.h:
8053         * text3.C:
8054         * text2.C:
8055         * text.C: use lyxrow helpers above.
8056           Move draw and paint routines to RowPainter.
8057           Make several methods use refs not pointers.
8058           Make backgroundColor() const.
8059           Add markChangeInDraw(), isInInset().
8060           Merge changeRegionCase into changeCase.
8061           Make workWidth() shouldn't-happen code into an Assert.
8062
8063         * rowpainter.h:
8064         * rowpainter.C: new class for painting a row.
8065
8066         * vspace.h:
8067         * vspace.C: make inPixels take a ref
8068
8069 2003-02-26  Angus Leeming  <leeming@lyx.org>
8070
8071         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8072         LFUN_REF_APPLY.
8073
8074 2003-02-25  John Levon  <levon@movementarian.org>
8075
8076         * ispell.C: give the forked command a more accurate name
8077
8078 2003-02-22  John Levon  <levon@movementarian.org>
8079
8080         * toc.h:
8081         * toc.C: make TocItem store an id not a Paragraph *
8082           (bug #913)
8083
8084 2003-02-21  Angus Leeming  <leeming@lyx.org>
8085
8086         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8087           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8088           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8089           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8090           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8091           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8092
8093         * BufferView_pimpl.C (dispatch):
8094         * LyXAction.C (init):
8095         * factory.C (createInset):
8096         * lyxfunc.C (getStatus, dispatch):
8097         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8098
8099 2003-02-21  Angus Leeming  <leeming@lyx.org>
8100
8101         * BufferView_pimpl.C (MenuInsertLyXFile):
8102         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8103         * lyxfunc.C (menuNew, open, doImport):
8104           no longer pass a LyXView & to fileDlg.
8105
8106 2003-02-21  Angus Leeming  <leeming@lyx.org>
8107
8108         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8109         * LyXAction.C: change, BIBKEY to BIBITEM.
8110         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8111         Change InsetBibKey to InsetBibitem.
8112         Change BIBKEY_CODE to BIBITEM_CODE.
8113         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8114         * factory.C: replace insetbib.h with insetbibitem.h.
8115         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8116         * paragraph.C: replace insetbib.h with insetbibitem.h.
8117         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8118         Change bibkey() to bibitem().
8119         * text.C: remove insetbib.h.
8120         * text2.C: replace insetbib.h with insetbibitem.h.
8121         change bibkey() to bibitem().
8122         * text3.C: remove insetbib.h.
8123         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8124
8125 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8126
8127         * lyxrc.C (output): enclose user email in quotes (in case there are
8128         several words)
8129
8130 2003-02-18  John Levon  <levon@movementarian.org>
8131
8132         * buffer.h: add std::
8133
8134 2003-02-17  John Levon  <levon@movementarian.org>
8135
8136         * SpellBase.h:
8137         * ispell.h:
8138         * ispell.C:
8139         * pspell.h:
8140         * pspell.C: reworking. Especially in ispell, a large
8141           number of clean ups and bug fixes.
8142
8143         * lyxfunc.C: fix revert to behave sensibly
8144
8145 2003-02-17 André Pönitz <poenitz@gmx.net>
8146
8147         * LyXAction.C:
8148         * commandtags.h: new LFUN_INSERT_BIBKEY
8149
8150         * layout.h:
8151         * lyxlayout.C:
8152         * buffer.C:
8153         * factory.C:
8154         * text.C:
8155         * text2.C:
8156         * text3.C:
8157         * paragraph.[Ch]:
8158         * paragraph_func.C: remove special bibkey handling
8159
8160 2003-02-17  John Levon  <levon@movementarian.org>
8161
8162         * text.C (Delete): fix case where delete at the end of
8163           the very first paragraph would not merge the pars
8164
8165 2003-02-17  John Levon  <levon@movementarian.org>
8166
8167         * lyxrow.C: fix lastPrintablePos()
8168
8169 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8170
8171         * bufferparams.C (writeLaTeX): add a std:here
8172
8173         * buffer.C: and remove a using directive there
8174
8175 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8176
8177         * buffer.C (makeLaTeXFile): move the code that generates the
8178           preamble...
8179
8180         * bufferparams.C (writeLaTeX): ... in this new method
8181
8182         * LaTeXFeatures.C (getEncodingSet): make const
8183           (getLanguages): make const
8184
8185         * MenuBackend.C (binding): returns the binding associated to this
8186           action
8187           (add): sets the status of each item by calling getStatus. Adds
8188           some intelligence.
8189           (read): add support for OptSubMenu
8190           (expand): remove extra separator at the end of expanded menu
8191
8192 2003-02-15  John Levon  <levon@movementarian.org>
8193
8194         * BufferView.C:
8195         * BufferView_pimpl.C:
8196         * bufferlist.h:
8197         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8198           inset code that had no actual effect. Remove unneeded status
8199           code.
8200
8201 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8202
8203         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8204           in preamble
8205
8206 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8207
8208         * text.C (drawLengthMarker): also draw an arrow marker for
8209           symbolic lengths (medskip...)
8210
8211 2003-02-14  John Levon  <levon@movementarian.org>
8212
8213         * tabular.h:
8214         * tabular.C: better method names
8215
8216 2003-02-14  John Levon  <levon@movementarian.org>
8217
8218         * BufferView_pimpl.C:
8219         * bufferlist.C:
8220         * buffer.C:
8221         * converter.C:
8222         * lyx_cb.C:
8223         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8224           it's a more accurate name. Remove some pointless uses.
8225
8226 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8227
8228         * text2.C (LyXText): change order of initilizers to shut off
8229           warnings
8230
8231 2003-02-14  John Levon  <levon@movementarian.org>
8232
8233         * buffer.C: use ParIterator for getParFromID()
8234
8235         * paragraph.h:
8236         * paragraph.C:
8237         * paragraph_pimpl.h:
8238         * paragraph_pimpl.C: remove unused getParFromID()
8239
8240 2003-02-14  John Levon  <levon@movementarian.org>
8241
8242         * buffer.C: remove some very old #if 0'd parse code
8243
8244 2003-02-13  John Levon  <levon@movementarian.org>
8245
8246         * text.h:
8247         * text.C:
8248         * text2.C: move hfillExpansion(), numberOfSeparators(),
8249           rowLast(), rowLastPrintable(), numberofHfills(),
8250           numberOfLabelHfills() ...
8251
8252         * lyxrow.h:
8253         * lyxrow.C: ... to member functions here.
8254
8255         * paragraph.h:
8256         * paragraph.C:
8257         * lyxtext.h:
8258         * text.C: remove LyXText::beginningOfMainBody(), and call
8259           p->beginningOfMainBody() directly. Move the check for
8260           LABEL_MANUAL into the latter.
8261
8262         * text.h:
8263         * text.C:
8264         * text2.C:
8265         * vspace.C:
8266         * BufferView.h:
8267         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8268
8269         * text.h:
8270         * text.C:
8271         * text2.C:
8272         * text3.C:
8273         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8274           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8275
8276 2003-02-13  John Levon  <levon@movementarian.org>
8277
8278         * CutAndPaste.C: remove debug
8279
8280 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8281
8282         * paragraph.C (asString): remove two unused variables
8283
8284         * lyxtextclass.C (readTitleType):
8285           (Read):
8286           (LyXTextClass): handle new members titletype_ and titlename_
8287
8288         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8289
8290 2003-02-09  John Levon  <levon@movementarian.org>
8291
8292         * buffer.h:
8293         * buffer.C: replace hand-coded list with a map for the dep clean
8294
8295 2003-02-08  John Levon  <levon@movementarian.org>
8296
8297         * LaTeX.C: consolidate code into showRunMessage() helper
8298
8299 2003-02-08  John Levon  <levon@movementarian.org>
8300
8301         * lyxfind.C:
8302         * lyxtext.h:
8303         * text2.C:
8304         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8305           and pass the size in explicitly
8306
8307         * BufferView_pimpl.h:
8308         * BufferView_pimpl.C:
8309         * BufferView.h:
8310         * BufferView.C: add getCurrentChange()
8311
8312         * BufferView_pimpl.h:
8313         * BufferView_pimpl.C: handle change lfuns
8314
8315         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8316           for changes. Mark pasted paragraphs as new.
8317
8318         * support/lyxtime.h:
8319         * support/lyxtime.C:
8320         * DepTable.C: abstract time_t as lyx::time_type
8321
8322         * LColor.h:
8323         * LColor.C: add colours for new text, deleted text, changebars
8324
8325         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8326           package use "usenames" option.
8327
8328         * commandtags.h:
8329         * lyxfunc.C:
8330         * LyXAction.C: add change lfuns
8331
8332         * Makefile.am:
8333         * author.h:
8334         * author.C: author handling
8335
8336         * buffer.h:
8337         * buffer.C: add a per-buffer author list, with first entry as
8338           current author. Handle new .lyx tokens for change tracking. Output
8339           author list to .lyx file. Output dvipost stuff to .tex preamble.
8340           Bump lyx format to 222.
8341
8342         * bufferlist.h:
8343         * bufferlist.C: add setCurrentAuthor() to reset current author details
8344           in all buffers.
8345
8346         * bufferparams.h:
8347         * bufferparams.C: add param for tracking
8348
8349         * bufferview_funcs.C: output change info in minibuffer
8350
8351         * Makefile.am:
8352         * changes.h:
8353         * changes.C: add change-tracking structure
8354
8355         * debug.h:
8356         * debug.C: add CHANGES debug flag
8357
8358         * lyxfind.h:
8359         * lyxfind.C: add code for finding the next change piece
8360
8361         * lyxrc.h:
8362         * lyxrc.C: add user_name and user_email
8363
8364         * lyxrow.h:
8365         * lyxrow.C: add a metric for the top of the text line
8366
8367         * lyxtext.h:
8368         * text.C: implement accept/rejectChange()
8369
8370         * lyxtext.h:
8371         * text.C: paint changebars. Paint new/deleted text in the chosen
8372         colours. Strike through deleted text.
8373
8374         * paragraph.h:
8375         * paragraph.C:
8376         * paragraph_pimpl.h:
8377         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8378           in the current change to the insert functions. Rework erase to
8379           mark text as deleted, adding an eraseIntern() and a range-based
8380           erase(). Implement per-paragraph change lookup and
8381           accept/reject.
8382
8383         * paragraph_funcs.C: Fixup paste for change tracking.
8384
8385         * tabular.C: mark added row/columns as new.
8386
8387         * text.C: fix rowLast() to never return -1. Don't allow
8388           spellchecking of deleted text. Track transpose changes. Don't
8389           allow paragraph break or merge where appropriate.
8390
8391         * text2.C: leave cursor at end of selection after a cut.
8392
8393 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8394
8395         * text.C (getLengthMarkerHeight):
8396         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8397         visible on screen too.
8398
8399 2003-02-07  John Levon  <levon@movementarian.org>
8400
8401         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8402
8403 2003-02-05  Angus Leeming  <leeming@lyx.org>
8404
8405         * lyxserver.C (read_ready): revert my patch of 11 September last year
8406         as it sends PC cpu through the roof. Presumably this means that
8407         the lyxserver will no longer run on an Alpha...
8408
8409 2003-01-30  Angus Leeming  <leeming@lyx.org>
8410
8411         * factory.C (createInset): create an InsetCommandParam of type "index"
8412         and use it to 'do the right thing'.
8413
8414         * text2.C (getStringToIndex): ensure that cursor position is always
8415         reset to the reset_cursor position.
8416
8417 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8418
8419         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8420         disabled.
8421
8422 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8423
8424         * bufferview.C:
8425         * lyxcb.C:
8426         * lyxfunc.C: Output messages with identical spelling, punctuation,
8427         and spaces
8428
8429 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8430
8431         * MenuBackend.C (expandFormats): List only viewable export formats
8432         in "View" menu
8433
8434         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8435         message
8436
8437         * lyxfunc.C (getStatus): Make sure that formats other than
8438         "fax" can also be disabled
8439
8440 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8441
8442         * text3.C (dispatch): put the lfuns that insert insets in 3
8443         groups, and call doInsertInset with appropriate arguments.
8444         (doInsertInset): new function, that creates an inset and inserts
8445         it according to some boolean parameters.
8446
8447 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8448
8449         * buffer.C (readFile): remember to pass on 'par' when calling
8450         readFile recursively.
8451
8452 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8453
8454         * MenuBackend.C (expandFormats): add "..." to import formats.
8455
8456 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8457
8458         * paragraph.C (asString): Remove XForms RTL hacks.
8459
8460 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8461         * buffer.C: fix typo
8462
8463 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8464
8465         * Makefile.am (LIBS): delete var
8466         (lyx_LDADD): add @LIBS@ here instead.
8467
8468 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8469
8470         * Clarify the meaning of "wheel mouse jump"
8471
8472 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8473
8474         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8475         tabular in a float
8476
8477 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8478
8479         * importer.C (Loaders): do not preallocate 3 elements in the
8480         vector, since one ends up with 6 elements otherwise
8481
8482 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8483
8484         * DepTable.C (write): write the file name as last element of the
8485         .dep file (because it may contain spaces)
8486         (read): read info in the right order
8487
8488 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8489
8490         * paragraph_pimpl.C (simpleTeXBlanks):
8491         (simpleTeXSpecialChars):
8492         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8493
8494         * tabular.C (latex): add some missing case statements. Reindent.
8495
8496         * MenuBackend.C (expandToc): remove unused variable.
8497
8498 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8499
8500         * LColor.C:
8501         * LaTeX.C:
8502         * LyXAction.C:
8503         * MenuBackend.C:
8504         * buffer.C:
8505         * exporter.C:
8506         * lyxfunc.C:
8507         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8508         and the like.
8509
8510 2003-01-05  John Levon  <levon@movementarian.org>
8511
8512         * BufferView.h:
8513         * BufferView.C: add getEncoding()
8514
8515         * kbsequence.h:
8516         * kbsequence.C: do not store last keypress
8517
8518         * lyxfunc.h:
8519         * lyxfunc.C: store last keypress here instead. Pass encoding
8520           to getISOEncoded()
8521
8522 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8523
8524         * lyx_main.C (init): remove annoying error message when following
8525         symbolic links (bug #780)
8526
8527 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8528
8529         * text.C (insertChar):
8530         * lyxrc.C (getDescription): remove extra spaces
8531
8532 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8533
8534         * lyxrc.C (getDescription): remove extra spaces
8535
8536 2002-12-20  John Levon  <levon@movementarian.org>
8537
8538         * text3.C: hack fix for page up/down across tall rows
8539
8540 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8541
8542         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8543         not been invoked
8544
8545 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8546
8547         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8548         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8549         thesaurus is not compiled in
8550
8551 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8552
8553         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8554
8555 2002-12-16  Angus Leeming  <leeming@lyx.org>
8556
8557         * lyxrc.[Ch]:
8558         * lyx_main.C (init): remove override_x_deadkeys stuff.
8559
8560 2002-12-12  John Levon  <levon@movementarian.org>
8561
8562         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8563           insert. Only remove shift modifier under strict
8564           circumstances.
8565
8566 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8567
8568         * MenuBackend.C (expandToc): fix crash.
8569
8570 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8571
8572         * MenuBackend.C (expandToc): gettext on float names.
8573
8574 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8575
8576         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8577         implement bool empty() [bug 490]
8578
8579 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8580
8581         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8582
8583 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8584
8585         * several files: ws changes
8586
8587 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8588
8589         * text2.C (setCounter): clean up a bit, use boost.format.
8590         (updateCounters): initialize par upon declaration.
8591
8592         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8593         if the layout exists. We do not just store the layout any more.
8594         (SwitchLayoutsBetweenClasses): use boost.format
8595
8596 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8597
8598         * converter.C (convert): if from and to files are the same, use a
8599         temporary files as intermediary
8600
8601 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8602
8603         * commandtags.h:
8604         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8605
8606 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8607
8608         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8609
8610 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8611
8612         * tabular.C (asciiPrintCell): use string(size, char) instead of
8613         explicit loop.
8614
8615         * sgml.C (openTag): fix order of arguments to string constructor
8616         (closeTag): ditto
8617
8618         * lyxfunc.C (dispatch): use boost.format
8619
8620         * lots of files: change "c" -> 'c'
8621
8622 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8623
8624         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8625
8626 2002-11-25  Angus Leeming  <leeming@lyx.org>
8627
8628         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8629
8630         * lyx_main.C (init): compile fix.
8631
8632 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8633
8634         * lyx_cb.C (start): boost.formatify
8635         do not include <iostream>
8636
8637         * lengthcommon.C: ws only
8638
8639         * boost-inst.C,BoostFormat.h: add more explict instantations
8640
8641 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8642
8643         * lots of files: handle USE_BOOST_FORMAT
8644
8645 2002-11-21  John Levon  <levon@movementarian.org>
8646
8647         * pspell.C: fix compile
8648
8649 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8650
8651         * lyxfunc.C (dispatch): use boost::format
8652         (open): ditto
8653         (doImport): ditto
8654
8655         * lyxfont.C (stateText): use boost::format
8656
8657         * lyx_main.C (LyX): use boost::format
8658         (init): ditto
8659         (queryUserLyXDir): ditto
8660         (readRcFile): ditto
8661         (parse_dbg): ditto
8662         (typedef boost::function): use the recommened syntax.
8663
8664         * importer.C (Import): use boost::format
8665
8666         * debug.C (showLevel): use boost::format
8667
8668         * converter.C (view): use boost::format
8669         (convert): ditto
8670         (move): ditto
8671         (scanLog): ditto
8672
8673         * bufferview_funcs.C (currentState): use boost::format
8674
8675         * bufferlist.C (emergencyWrite): use boost::format
8676
8677         * buffer.C (readLyXformat2): use boost::format
8678         (parseSingleLyXformat2Token): ditto
8679
8680         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8681
8682         * LaTeX.C (run): use boost::format
8683
8684         * Chktex.C (scanLogFile): use boost::format
8685
8686         * BufferView_pimpl.C (savePosition): use boost::format
8687         (restorePosition): ditto
8688         (MenuInsertLyXFile): ditto
8689
8690         * BoostFormat.h: help file for explicit instation.
8691
8692 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8693
8694         * tabular.C (latex): Support for block alignment in fixed width
8695         columns.
8696
8697 2002-11-17  John Levon  <levon@movementarian.org>
8698
8699         * BufferView_pimpl.C:
8700         * lyx_cb.C:
8701         * lyxfunc.C: split filedialog into open/save
8702
8703 2002-11-08  Juergen Vigna  <jug@sad.it>
8704
8705         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8706         by my last patch (hopefully).
8707
8708 2002-11-08  John Levon  <levon@movementarian.org>
8709
8710         * iterators.h:
8711         * iterators.C:
8712         * buffer.h:
8713         * buffer.C:
8714         * paragraph.h:
8715         * paragraph.C:
8716         * toc.h:
8717         * toc.C: ParConstIterator, and use it (from Lars)
8718
8719 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8720
8721         * lyxtextclass.[Ch]: revise and add doxygen comments
8722
8723 2002-11-07  John Levon  <levon@movementarian.org>
8724
8725         * text.C: fix progress value for spellchecker
8726
8727         * toc.C: fix navigate menu for insetwrap inside minipage
8728
8729         * paragraph_funcs.C: added FIXME for suspect code
8730
8731 2002-11-07  John Levon  <levon@movementarian.org>
8732
8733         * BufferView_pimpl.C: fix redrawing of insets
8734           on buffer switch
8735
8736 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8737
8738         * text2.C (updateCounters): fix bug 668
8739
8740 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8741
8742         * text3.C (dispatch): Do not make the buffer dirty when moving the
8743         cursor.
8744
8745 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8746
8747         * vc-backend.C: STRCONV
8748         (scanMaster): ditto
8749
8750         * text2.C (setCounter): STRCONV
8751
8752         * paragraph.C (asString): STRCONV
8753
8754         * lyxlength.C (asString): STRCONV
8755         (asLatexString): ditto
8756
8757         * lyxgluelength.C (asString): STRCONV
8758         (asLatexString): ditto
8759
8760         * lyxfunc.C (dispatch): STRCONV
8761         (open): ditto
8762
8763         * lyxfont.C (stateText): STRCONV
8764
8765         * importer.C (Import): STRCONV
8766
8767         * counters.C (labelItem): STRCONV
8768         (numberLabel): ditto
8769         (numberLabel): remove unused ostringstream o
8770
8771         * chset.C: STRCONV
8772         (loadFile): ditto
8773
8774         * bufferview_funcs.C (currentState): STRCONV
8775
8776         * buffer.C (readFile): STRCONV
8777         (asciiParagraph): ditto
8778         (makeLaTeXFile): ditto
8779
8780         * Spacing.C (writeEnvirBegin): STRCONV
8781
8782         * LaTeXFeatures.C (getLanguages): STRCONV
8783         (getPackages): ditto
8784         (getMacros): ditto
8785         (getBabelOptions): ditto
8786         (getTClassPreamble): ditto
8787         (getLyXSGMLEntities): ditto
8788         (getIncludedFiles): ditto
8789
8790         * LaTeX.C: STRCONV
8791         (run): ditto
8792         (scanAuxFile): ditto
8793         (deplog): ditto
8794
8795         * LString.h: add the STRCONV macros
8796
8797         * BufferView_pimpl.C (savePosition): STRCONV
8798         (restorePosition): ditto
8799         (MenuInsertLyXFile): ditto
8800
8801         * vc-backend.C (scanMaster): change from submatch[...] to
8802         submatch.str(...)
8803
8804         * funcrequest.C: include config.h
8805
8806         * factory.C: include config.h
8807
8808         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8809
8810         * box.C: include config.h
8811
8812         * LaTeX.C (scanAuxFile): change from submatch[...] to
8813         submatch.str(...)
8814         (deplog): ditto
8815
8816 2002-10-25  Angus Leeming  <leeming@lyx.org>
8817
8818         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8819
8820         * ispell.[Ch] (setError): new method.
8821         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8822         Use setError() insetead of goto END.
8823
8824         * lyx_cb.C (AutoSave): move out child process into new class
8825         AutoSaveBuffer.
8826
8827 2002-10-30  John Levon  <levon@movementarian.org>
8828
8829         * text3.C: make start appendix undoable
8830
8831 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8832
8833         * lyxlength.C (inPixels): Fix returned value.
8834
8835         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8836         environment.
8837
8838 2002-10-24  Angus Leeming  <leeming@lyx.org>
8839
8840         * lyxgluelength.h: no need to forward declare BufferParams
8841         or BufferView, so don't.
8842
8843 2002-10-21  John Levon  <levon@movementarian.org>
8844
8845         * BufferView.C: menuUndo ->undo, redo
8846
8847         * BufferView.h: document, remove dead, make some methods private
8848
8849         * paragraph_funcs.h:
8850         * paragraph_funcs.C:
8851         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8852
8853         * buffer.h:
8854         * buffer.C:
8855         * sgml.h:
8856         * sgml.C: move sgml open/close tag into sgml.C
8857
8858         * bufferview_funcs.h: unused prototype
8859
8860         * lyxfunc.h:
8861         * lyxfunc.C: remove unused
8862
8863         * lyxtext.h:
8864         * text.C: remove unused
8865
8866 2002-10-21  John Levon  <levon@movementarian.org>
8867
8868         * BufferView.h:
8869         * BufferView.C:
8870         * BufferView_pimpl.h:
8871         * BufferView_pimpl.C: fix mouse wheel handling based on
8872           patch from Darren Freeman
8873
8874 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8875
8876         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8877
8878 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8879
8880         * lyxlength.C (inPixels): Fix hanfling of negative length.
8881         Fix LyXLength::MU case.
8882
8883 2002-10-16  John Levon  <levon@movementarian.org>
8884
8885         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8886
8887 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8888
8889         * converter.C (view): add support for $$i (file name) and $$p
8890         (file path) for the viewer command. If $$i is not specified, then
8891         it is appended to the command (for compatibility with old syntax)
8892
8893 2002-10-14  Juergen Vigna  <jug@sad.it>
8894
8895         * undo_funcs.C (textHandleUndo): alter the order in which the
8896         new undopar is added to the LyXText, as we have to set first
8897         the right prev/next and then add it as otherwise the rebuild of
8898         LyXText is not correct. Also reset the cursor to the right paragraph,
8899         with this IMO we could remove the hack in "redoParagraphs()".
8900
8901 2002-10-09  Angus Leeming  <leeming@lyx.org>
8902
8903         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8904         to turn off an optimisation if a new inset is to be inserted.
8905
8906 2002-10-11 André Pönitz <poenitz@gmx.net>
8907
8908         * lyxtext.h: make some functions public to allow access
8909         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8910
8911 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8912
8913         * text3.C (dispatch): when changing layout, avoid an infinite loop
8914         [bug #652]
8915
8916 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8917
8918         * lyxrc.C (read): treat a viewer or converter command of "none" as
8919         if it were empty.
8920
8921         * MenuBackend.C (expandFormats): for an update, also allow the
8922         formats that are not viewable
8923
8924         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8925         script if it is newer than the lyxrc.defaults in user directory
8926
8927 2002-10-07 André Pönitz <poenitz@gmx.net>
8928
8929         * text.C: Vitaly Lipatov's small i18n fix
8930
8931 2002-09-25  Angus Leeming  <leeming@lyx.org>
8932
8933         * ispell.h: doxygen fix.
8934
8935 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8936
8937         * buffer.h (readFile): Add a new argument to the method, to allow
8938         reading of old-format templates.
8939
8940 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8941
8942         * toc.C (getTocList): Get TOC from InsetWrap.
8943
8944 2002-09-16  John Levon  <levon@movementarian.org>
8945
8946         * lyxfunc.C: check tabular for cut/copy too
8947
8948 2002-09-12  John Levon  <levon@movementarian.org>
8949
8950         * LyXAction.C: tidy
8951
8952         * factory.h:
8953         * factory.C: add header
8954
8955         * paragraph_funcs.h:
8956         * paragraph_funcs.C: cleanup
8957
8958 2002-09-11  John Levon  <levon@movementarian.org>
8959
8960         * PrinterParams.h: odd/even default to true
8961
8962 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8963
8964         * PrinterParams.h: update printer parameters for new xforms dialog
8965
8966 2002-09-11  Angus Leeming  <leeming@lyx.org>
8967
8968         * lyxserver.C (read_ready): re-write to make it more transparent
8969         and to make it work in coherent fashion under Tru64 Unix.
8970
8971 2002-09-11  André Pönitz <poenitz@gmx.net>
8972
8973         * commandtags.h:
8974         * LyXAction.C:
8975         * text3.C: implement LFUN_WORDSEL
8976
8977 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8978
8979         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8980         make floatlist_ a boost::shared_ptr<FloatList>
8981
8982         * lyxtextclass.C: include FloatList.h
8983         (LyXTextClass): initialize floatlist_
8984         (TextClassTags): add TC_NOFLOAT
8985         (Read): match "nofloat" to TC_NOFLOAT and use it.
8986         (readFloat): modify call to floatlist_
8987         (floats): ditto
8988         (floats): ditto
8989
8990         * FloatList.[Ch] (FloatList): remove commented out float
8991         initialization.
8992         (erase): new function
8993
8994 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8995
8996         * MenuBackend.C (expandToc): fix crash when there is no document
8997         open
8998
8999 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9000
9001         * many files: Add insetwrap.
9002
9003 2002-09-09  John Levon  <levon@movementarian.org>
9004
9005         * text2.C: remove confusing and awkward depth wraparound
9006
9007 2002-09-09  John Levon  <levon@movementarian.org>
9008
9009         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9010
9011         * buffer.h:
9012         * buffer.C: remove getIncludeonlyList()
9013
9014         * paragraph.C:
9015         * lyxfunc.C: remove headers
9016
9017 2002-09-09  Juergen Vigna  <jug@sad.it>
9018
9019         * text.C (getColumnNearX): fix form Michael this is most
9020         probably a cut&paste bug.
9021
9022 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9023
9024         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9025
9026         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9027         references, ws changes.
9028
9029         * text2.C (init): update counters after init
9030         (insertParagraph): no need to set counter on idividual paragraphs.
9031         (setCounter): access the counters object in the textclass object
9032         on in the buffer object.
9033         (updateCounters): ditto
9034
9035         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9036         shared_ptr<Counters> to avoid loading counters.h in all
9037         compilation units.
9038         (LyXTextClass): initialize ctrs_
9039         (TextClassTags): add TC_COUNTER, and ...
9040         (Read): use it here.
9041         (CounterTags): new tags
9042         (readCounter): new function
9043         (counters): new funtion
9044         (defaultLayoutName): return a const reference
9045
9046         * counters.C (Counters): remove contructor
9047         (newCounter): remove a couple of unneeded statements.
9048         (newCounter): simplify a bit.
9049         (numberLabel): some small formatting changes.
9050
9051         * buffer.[Ch]: remove all traces of counters, move the Counters
9052         object to the LyXTextClass.
9053
9054 2002-09-06  Alain Castera  <castera@in2p3.fr>
9055
9056         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9057         package to set the horizontal alignment on fixed width columns.
9058
9059         * lyx_sty.C:
9060         * lyx_sty.h: added tabularnewline macro def.
9061
9062         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9063
9064 2002-09-06  John Levon  <levon@movementarian.org>
9065
9066         * LyXAction.C: tooltips for sub/superscript
9067
9068         * MenuBackend.C: a bit more verbose
9069
9070         * lyxfunc.C: tiny clean
9071
9072         * undo_funcs.C: document undo_frozen
9073
9074 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9075
9076         * counters.C (Counters): add missing algorithm counter.
9077
9078         * text2.C (setCounter): lookup the counter with layouts latexname
9079         instead of by section number.
9080         (setCounter): use a hackish way to lookup the correct enum
9081         counter.
9082         a float name->type change
9083         reset enum couners with counter name directly instead of depth value.
9084
9085         * counters.C (Counters): remove the push_backs, change to use the
9086         float type not the float name.
9087         (labelItem): remove unused string, float name->type change
9088
9089         * counters.h: don't include vector, loose the enums and sects vectors
9090
9091 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9092
9093         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9094         (Read): add float->TC_FLOAT to textclassTags
9095         (Read): and handle it in the switch
9096         (readFloat): new function
9097
9098         * FloatList.C (FloatList): comment out the hardcoded float
9099         definitions.
9100
9101         * lyxlayout.h: ws change.
9102
9103 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9104
9105         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9106
9107 2002-09-03  Angus Leeming  <leeming@lyx.org>
9108
9109         * BufferView_pimpl.h: qualified name is not allowed in member
9110         declaration: WorkArea & Pimpl::workarea() const;
9111
9112         * factory.C: added using std::endl directive.
9113
9114         * text3.C: added using std::find and std::vector directives.
9115
9116 2002-08-29  André Pönitz <poenitz@gmx.net>
9117
9118         * lyxtext.h:
9119         * text2.C: remove unused member number_of_rows
9120
9121         * Makefile.am:
9122         * BufferView2.C: remove file, move contents to...
9123         * BufferView.C: ... here
9124
9125         * BufferView_pimpl.C:
9126         * factory.C: move more inset creation to factory
9127
9128         * vspace.C: avoid direct usage of LyXText, ws changes
9129
9130         * BufferView.[Ch]:
9131                 don't provide direct access to WorkArea, use two simple
9132                 acessors haveSelction() and workHeight() instead
9133
9134
9135 2002-08-29  John Levon  <levon@movementarian.org>
9136
9137         * BufferView_pimpl.C (dispatch): do not continue when
9138           no buffer
9139
9140 2002-08-28  André Pönitz <poenitz@gmx.net>
9141
9142         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9143
9144         * BufferView.h:
9145         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9146
9147 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9148
9149         * buffer.C: increment LYX_FORMAT to 221
9150
9151         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9152         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9153
9154         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9155
9156         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9157
9158 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9159
9160         * factory.C (createInset): use LyXTextClass::floats
9161
9162         * MenuBackend.C (expandFloatListInsert):
9163         (expandFloatInsert):
9164         (expandToc):
9165
9166         * text2.C (setCounter):
9167
9168         * LaTeXFeatures.C (useFloat):
9169         (getFloatDefinitions):
9170
9171         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9172
9173         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9174         floatlist_, with accessor floats().
9175
9176         * FloatList.h: remove global FloatList
9177
9178 2002-08-26  André Pönitz <poenitz@gmx.net>
9179
9180         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9181
9182         * BufferView.h:
9183         * BufferView2.C:
9184         * BufferView_pimpl.C:
9185         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9186
9187 2002-08-25  John Levon  <levon@movementarian.org>
9188
9189         * LyXAction.C: fix margin note description
9190
9191 2002-08-24  John Levon  <levon@movementarian.org>
9192
9193         * buffer.C:
9194         * bufferlist.C:
9195         * bufferview_funcs.C:
9196         * lyxfont.C:
9197         * undo_funcs.C: cleanups
9198
9199         * lyxfunc.C: disable CUT/COPY when no selection
9200
9201 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9202
9203         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9204         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9205
9206         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9207         Add backward compatibility to "mono", "gray" and "no".
9208
9209 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9210
9211         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9212         (and file_format >= 200).
9213
9214 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9215
9216         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9217
9218 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9219
9220         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9221
9222 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9223
9224         * BufferView_pimpl.C:
9225         * LyXAction.C:
9226         * buffer.C:
9227         * commandtags.h:
9228         * lyxfunc.C:
9229         * paragraph.[Ch]:
9230         * text2.C:
9231         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9232         inset and code to make it  work with the paragraph code. The inset
9233         can be anywhere in the paragraph, but will only do the expected
9234         thing in LaTeX if the layout file contains the parameter line
9235                         OptionalArgs    1
9236         (or more generally, a nonzero value) for that layout.
9237
9238 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9239
9240         * paragraph.h: remove the declaration of undefined counters class
9241         function.
9242
9243 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9244
9245         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9246         Dr. Richard Hawkins.
9247
9248 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9249
9250         * paragraph_funcs.h: remove some unneeded includes
9251
9252         * text.C (backspace): pasteParagraph now in global scipe
9253
9254         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9255         (pasteSelection): ditto
9256
9257         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9258         * paragraph_funcs.C (pasteParagraph): ... here
9259
9260 2002-08-20  André Pönitz <poenitz@gmx.net>
9261
9262         * commandtags.h: new LFUNs for swapping/copying table row/colums
9263
9264         * LyXAction.C:
9265         * lyxfunc.C: support for new lfuns
9266
9267 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9268
9269         * tabular.C:
9270         * buffer.[Ch]: remove NO_COMPABILITY stuff
9271
9272 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9273
9274         * boost.C (throw_exception): new file, with helper function for
9275         boost compiled without exceptions.
9276
9277         * paragraph.h:
9278         * lyxlength.C:
9279         * buffer.C:
9280         * ParameterStruct.h:
9281         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9282
9283         * bufferlist.C (emergencyWriteAll): use boost bind
9284
9285         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9286
9287         * text.C: include paragraph_funcs.h
9288         (breakParagraph): breakParagraph is now in global scope
9289
9290         * paragraph_funcs.[Ch]: new files
9291
9292         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9293         global scope
9294
9295         * buffer.C: include paragraph_funcs.h
9296         (insertStringAsLines): breakParagraph is now in global scope
9297
9298         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9299         paragraph_funcs.C
9300
9301         * CutAndPaste.C: include paragraph_funcs.h
9302         (cutSelection): breakParagraphConservative is now in global scope
9303         (pasteSelection): ditto
9304
9305         * buffer.h: declare oprator== and operator!= for
9306         Buffer::inset_iterator
9307
9308         * bufferlist.C (emergencyWrite): don't use fmt(...)
9309
9310         * text3.C: add using std::endl
9311
9312         * BufferView.C (moveCursorUpdate): remove default arg
9313
9314 2002-08-20  André Pönitz <poenitz@gmx.net>
9315
9316         * buffer.[Ch]: move inline functions to .C
9317
9318         * BufferView2.C:
9319         * BufferView_pimpl.C:
9320         * text.C:
9321         * buffer.[Ch]: use improved inset_iterator
9322
9323         * buffer.C:
9324         * paragraph.[Ch]: write one paragraph at a time
9325
9326 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9327
9328         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9329         style if style is not specified.
9330
9331 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9332
9333         * text2.C (setCounter): when searching for right label for a
9334         caption, make sure to recurse to parent insets (so that a caption
9335         in a minipage in a figure float works) (bug #568)
9336
9337 2002-08-20  André Pönitz <poenitz@gmx.net>
9338
9339         * text3.C: new file for LyXText::dispatch() and helpers
9340
9341         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9342
9343         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9344
9345 2002-08-19  André Pönitz <poenitz@gmx.net>
9346
9347         * lyxtext.h:
9348         * text.C: new LyXText::dispatch()
9349
9350         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9351
9352 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9353
9354         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9355
9356         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9357         Hebrew text.
9358
9359 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9360
9361         * Makefile.am: use $(variables) instead of @substitutions@
9362
9363 2002-08-15  André Pönitz <poenitz@gmx.net>
9364
9365         * lyxfunc.C:
9366         * BufferView_pimpl.C: streamlining mathed <-> outer world
9367         interaction
9368
9369         * commandtags.h:
9370         * LyXAction.C: remove unused LFUN_MATH
9371
9372 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9373
9374         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9375
9376 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9377
9378         * paragraph.C (Paragraph): reformat a bit
9379         (cutIntoMinibuffer): use builtin InsetList function instad of
9380         doing it manually.
9381         (getInset): ditto
9382
9383         * buffer.C: include boost/bind.hpp, add using std::for_each
9384         (writeFileAscii): use ParagraphList iterators
9385         (validate): use for_each for validate traversal of paragraphs
9386         (getBibkeyList): use ParagraphList iterators
9387         (resizeInsets): use for_each to resizeInsetsLyXText for all
9388         paragraphs.
9389         (getParFromID): use ParagraphList iterators
9390
9391         * BufferView2.C (lockInset): use paragraph list and iterators
9392
9393 2002-08-14  John Levon  <levon@movementarian.org>
9394
9395         * lyxserver.C: remove spurious xforms include
9396
9397 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9398
9399         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9400
9401 2002-08-13  André Pönitz <poenitz@gmx.net>
9402
9403         * LyXAction.[Ch]:
9404         * lyxfunc.C: further cleaning
9405
9406 2002-08-13  André Pönitz <poenitz@gmx.net>
9407
9408         * funcrequest.h: new constructor
9409
9410         * funcrequest.C: move stuff here from .h
9411
9412         * Makefile.am:
9413         * BufferView_pimpl.C:
9414         * LyXAction.C:
9415         * toc.C:
9416         * lyxfunc.C: subsequent changes
9417
9418         * lyxfunc.h: new view() member function
9419
9420         * lyxfunc.C: subsequent changes
9421
9422 2002-08-13  Angus Leeming  <leeming@lyx.org>
9423
9424         * BufferView2.C:
9425         * BufferView_pimpl.C:
9426         * buffer.C:
9427         * converter.C:
9428         * importer.C:
9429         * lyxfunc.C:
9430         * lyxvc.C:
9431         * toc.C:
9432         * vc-backend.C:
9433         changes due to the changed LyXView interface that now returns references
9434         to member variables not pointers.
9435
9436 2002-08-13  Angus Leeming  <leeming@lyx.org>
9437
9438         * WordLangTuple (word, lang_code): return references to strings,
9439         not strings.
9440
9441         * BufferView.h:
9442         * SpellBase.h:
9443         * lyxtext.h: forward-declare WordLangTuple.
9444
9445         * BufferView2.C:
9446         * ispell.C:
9447         * pspell.C:
9448         * text.C: #include "WordLangTuple.h".
9449
9450         * lyxtext.h:
9451         * text.C: (selectNextWordToSpellcheck): constify return type.
9452
9453 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9454
9455         * buffer.C:
9456         * buffer.h:
9457         * lyxtext.h:
9458         * paragraph.C:
9459         * paragraph_pimpl.h:
9460         * text.C:
9461         * text2.C:
9462         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9463         suggested by Angus.
9464         Made updateCounter always count from start of buffer, and removed
9465         second argument (par).
9466         Reverted floats number display to '#'. Perhaps I'll try again when the
9467         code base is sanitized a bit.
9468
9469 2002-08-12  Angus Leeming  <leeming@lyx.org>
9470
9471         * buffer.[Ch] (getLabelList): constify.
9472
9473 2002-08-07  André Pönitz <poenitz@gmx.net>
9474
9475         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9476
9477         * funcrequest.h: extension to keep mouse (x,y) position
9478
9479 2002-08-12  Juergen Vigna  <jug@sad.it>
9480
9481         * BufferView2.C (insertErrors): forbid undo when inserting error
9482         insets.
9483
9484         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9485
9486 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9487
9488         * ParagraphList.[Ch]: new files
9489
9490         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9491
9492         * BufferView2.C (lockInset): ParagraphList changes
9493         * toc.C: ditto
9494         * text2.C: ditto
9495         * bufferlist.C: ditto
9496         * buffer.h: ditto
9497         * buffer.C: ditto
9498
9499 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9500
9501         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9502         unused class variable counter_,
9503
9504         * paragraph.[Ch] (getFirstCounter): delete unused function
9505
9506         * counters.C: include LAssert.h
9507         (reset): add a new function with no arg, change other version to
9508         not have def. arg and to not allow empty arg.
9509
9510         * text2.C (setCounter): remove empty arg from call to Counters::reset
9511
9512 2002-08-11  John Levon  <levon@movementarian.org>
9513
9514         * Makefile.am: add WordLangTuple.h
9515
9516 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9517
9518         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9519         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9520
9521         * insets/insettext.C: InsetList changes
9522
9523         * graphics/GraphicsSupport.C (operator()): InsetList changes
9524
9525         * toc.C (getTocList): InsetList changes
9526
9527         * paragraph_pimpl.[Ch]: InsetList changes
9528
9529         * paragraph.[Ch]: InsetList changes
9530
9531         * buffer.C (inset_iterator): InsetList changes
9532         (setParagraph): ditto
9533         * buffer.h (inset_iterator): ditto
9534         * iterators.C (operator++): ditto
9535         * iterators.h: ditto
9536
9537         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9538
9539         * InsetList.[Ch]: new files, most InsetList handling moved out of
9540         paragraph.C.
9541
9542         * BufferView2.C (removeAutoInsets): InsetList changes
9543         (lockInset): ditto
9544         (ChangeInsets): ditto
9545
9546 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9547
9548         * paragraph_pimpl.h (empty): new function
9549
9550         * paragraph.[Ch] (empty): new function
9551
9552         * other files: use the new Paragraph::empty function
9553
9554 2002-08-09  John Levon  <levon@movementarian.org>
9555
9556         * lyxtext.h: remove unused refresh_height
9557
9558 2002-08-09  John Levon  <levon@movementarian.org>
9559
9560         * Makefile.am:
9561         * sgml.h:
9562         * sgml.C:
9563         * buffer.C:
9564         * paragraph.h:
9565         * paragraph.C: move sgml char escaping out of paragraph
9566
9567         * paragraph.h:
9568         * paragraph.C: remove id setter
9569
9570         * buffer.C:
9571         * paragraph.C:
9572         * paragraph_pimpl.C: remove dead tex_code_break_column
9573
9574         * bufferview_funcs.C: small cleanup
9575
9576         * lyxfunc.C: remove dead proto
9577
9578         * lyxtext.h: make some stuff private. Remove some dead stuff.
9579
9580         * lyxgluelength.C: make as[LyX]String() readable
9581
9582 2002-08-08  John Levon  <levon@movementarian.org>
9583
9584         * LyXAction.h:
9585         * LyXAction.C:
9586         * MenuBackend.C:
9587         * ToolbarDefaults.C:
9588         * lyxfunc.C:
9589         * lyxrc.C:
9590         * toc.C: lyxaction cleanup
9591
9592 2002-08-08  John Levon  <levon@movementarian.org>
9593
9594         * BufferView2.C: small cleanup
9595
9596         * lyxfind.h:
9597         * lyxfind.C: move unnecessary header into the .C
9598
9599 2002-08-08  John Levon  <levon@movementarian.org>
9600
9601         * funcrequest.h: just tedious nonsense
9602
9603         * lyx_main.h:
9604         * lyx_main.C: cleanups
9605
9606         * buffer.C:
9607         * vspace.C: remove dead header lyx_main.h
9608
9609 2002-08-07  Angus Leeming  <leeming@lyx.org>
9610
9611         * Paragraph.[Ch]:
9612         * paragraph_pimpl.h:
9613         Forward declare class Counters in paragraph.h by moving the ctrs member
9614         variable into Paragraph::Pimpl.
9615         (counters): new method, returning a reference to pimpl_->ctrs.
9616
9617         * text2.C: ensuing changes.
9618
9619 2002-08-07  John Levon  <levon@movementarian.org>
9620
9621         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9622
9623         * BufferView_pimpl.C: announce X selection on double/triple
9624           click
9625
9626         * lyx_main.C: use correct bool in batch dispatch
9627
9628         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9629
9630 2002-08-07  André Pönitz <poenitz@gmx.net>
9631
9632         * funcrequest.h: new class to wrap a kb_action and its argument
9633
9634         * BufferView.[Ch]:
9635         * BufferView_pimpl[Ch]:
9636         * LaTeX.C:
9637         * LyXAction.[Ch]:
9638         * lyxfunc.[Ch]:
9639         * lyxrc.C: subsequent changes
9640
9641
9642 2002-08-07  John Levon  <levon@movementarian.org>
9643
9644         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9645           document options change.
9646
9647 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9648
9649         * counters.[Ch]
9650         * text2.C
9651         * paragraph.[Ch]
9652         * makefile.am: move counters functionality over from
9653         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9654
9655 2002-08-06  John Levon  <levon@movementarian.org>
9656
9657         * WordLangTuple.h: new file for word + language code tuple
9658
9659         * SpellBase.h:
9660         * pspell.h:
9661         * pspell.C:
9662         * ispell.h:
9663         * ispell.C:
9664         * lyxtext.h:
9665         * text.C:
9666         * text2.C:
9667         * BufferView.h:
9668         * BufferView2.C: use WordLangTuple
9669
9670         * layout.h:
9671         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9672
9673 2002-08-06  John Levon  <levon@movementarian.org>
9674
9675         * lyx_main.C: fix cmdline batch handling
9676
9677 2002-08-06  André Pönitz <poenitz@gmx.net>
9678
9679         * lyxrc.C: set default for show_banner to true
9680
9681 2002-08-06  John Levon  <levon@movementarian.org>
9682
9683         * pspell.C: fix a crash, and allow new aspell to work
9684
9685 2002-08-06  John Levon  <levon@movementarian.org>
9686
9687         * lyxfunc.C:
9688         * kbmap.C: small cleanup
9689
9690         * vspace.h:
9691         * vspace.C: add const
9692
9693 2002-08-05  John Levon  <levon@movementarian.org>
9694
9695         * LyXAction.C: back to tabular-insert
9696
9697 2002-08-04  John Levon  <levon@movementarian.org>
9698
9699         * BufferView.h:
9700         * BufferView.C: cosmetic change
9701
9702         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9703
9704         * bufferlist.C:
9705         * buffer.h:
9706         * buffer.C:
9707         * lyxcb.h:
9708         * lyxcb.C:
9709         * lyxserver.C:
9710         * lyxvc.C:
9711         * vc-backend.C:
9712         * BufferView2.C: purge all "Lyx" not "LyX" strings
9713
9714         * lyxcursor.h:
9715         * lyxcursor.C: attempt to add some documentation
9716
9717         * lyxfunc.C:
9718         * commandtags.h:
9719         * LyXAction.C:
9720         * ToolbarDefaults.C:
9721         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9722           merge with LFUN_TABULAR_INSERT
9723
9724         * Makefile.am:
9725         * SpellBase.h:
9726         * ispell.h:
9727         * ispell.C:
9728         * pspell.h:
9729         * pspell.C: split up i/pspell implementations into separate
9730           files, many cleanups
9731
9732         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9733
9734         * text2.C: some cleanup
9735
9736         * lyxfunc.C: don't check for isp_command == "none" any more, it
9737           didn't make any sense
9738
9739 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9740
9741         * counters.[Ch]
9742         * text2.C
9743         * paragraph.[Ch]
9744         * makefile.am: move counters functionality over
9745         from text2.C/paragraph.[Ch] to counters.[Ch], and
9746         make proper C++.
9747 2002-08-02  John Levon  <levon@movementarian.org>
9748
9749         * buffer.C: s/lyxconvert/lyx2lyx/
9750
9751 2002-08-02  Angus Leeming  <leeming@lyx.org>
9752
9753         * lyxlex.C: revert John's change as it breaks reading of the user
9754         preamble.
9755
9756 2002-08-02  Angus Leeming  <leeming@lyx.org>
9757
9758         * importer.C (Import):
9759         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9760         changes due to LyXView::view() now returning a boost::shared_ptr.
9761
9762 2002-08-02  John Levon  <levon@movementarian.org>
9763
9764         * lyxlex.C: small cleanup
9765
9766 2002-08-02  John Levon  <levon@movementarian.org>
9767
9768         * text2.C (status): small cleanup, no logic change
9769
9770 2002-08-01  John Levon  <levon@movementarian.org>
9771
9772         * buffer.h:
9773         * buffer.C (writeFile): don't output alerts, caller
9774           handles this
9775
9776         * bufferlist.C:
9777         * lyx_cb.C: from above
9778
9779         * lyxfunc.C: allow to open non-existent files
9780
9781 2002-07-31  John Levon  <levon@movementarian.org>
9782
9783         * lyxserver.C: don't let incidental errors get
9784           in the way (errno)
9785
9786 2002-07-30  John Levon  <levon@movementarian.org>
9787
9788         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9789
9790 2002-07-30  John Levon  <levon@movementarian.org>
9791
9792         * lyxserver.h:
9793         * lyxserver.C: remove I/O callback too
9794
9795 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9796
9797         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9798         log.
9799
9800 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9801
9802         * many files: strip,frontStrip -> trim,ltrim,rtrim
9803
9804 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9805
9806         * PrinterParams.h: remove extern containsOnly, and include
9807         support/lstrings.h instead.
9808
9809         * LaTeX.C (scanAuxFile): modify because of strip changes
9810         (deplog): ditto
9811         * buffer.C (makeLaTeXFile): ditto
9812         * bufferparams.C (writeFile): ditt
9813         * lyxfont.C (stateText): ditto
9814         * lyxserver.C (read_ready): ditto
9815         * vc-backend.C (scanMaster): ditto
9816
9817         * BufferView_pimpl.h: ws changes
9818
9819         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9820
9821 2002-07-26  André Pönitz <poenitz@gmx.net>
9822
9823         * kb_sequence.C: remove unnedred usings
9824
9825 2002-07-26  Juergen Vigna  <jug@sad.it>
9826
9827         * lyxfind.C (LyXReplace): we have to check better if the returned
9828         text is not of theLockingInset()->getLockingInset().
9829
9830 2002-07-25  Juergen Vigna  <jug@sad.it>
9831
9832         * lyxfind.C (LyXReplace): don't replace if we don't get the
9833         right LyXText.
9834
9835         * undo_funcs.C (createUndo): remove debugging code.
9836
9837 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9838
9839         * buffer.C (parseSingleLyXformat2Token): Use default placement
9840         when reading old floats.
9841
9842         * FloatList.C (FloatList): Change the default placement of figure
9843         and tables to "tbp".
9844
9845 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9846
9847         * MenuBackend.C: using std::max
9848
9849 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9850
9851         * MenuBackend.C (expandToc):
9852         (expandToc2): code moved from xforms menu frontend. It is now
9853         generic and TOCs are transparent to menu frontends.
9854
9855 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9856
9857         * toc.C (getTocList): protect against buf=0
9858
9859         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9860         Menu as first parameter. Now, this calls itself recursively to
9861         expand a whole tree (this will be useful for TOC handling)
9862         (expandFloatInsert): remove 'wide' version of floats
9863
9864         * MenuBackend.h (submenuname): returns the name of the submenu.
9865         (submenu): returns the submenu itself, provided it has been
9866         created by MenuBackend::expand
9867
9868 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9869
9870         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9871         insets which have noFontChange == true. (bug #172)
9872
9873 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9874
9875         * BufferView_pimpl.C: add connection objects and use them...
9876         (Pimpl): here.
9877
9878 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9879
9880         * MenuBackend.C (expandLastfiles):
9881         (expandDocuments):
9882         (expandFormats):
9883         (expandFloatListInsert):
9884         (expandFloatInsert):
9885         (expand): split expand in parts
9886
9887 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9888
9889         * lyx_gui.C: use lyx_gui::exit()
9890
9891 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9892
9893         * LyXAction.C: show the failing pseudo action
9894
9895 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9896
9897         * buffer.C (readFile): Run the lyxconvert script in order to read
9898         old files.
9899
9900 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9901
9902         * LyXAction.C:
9903         * commandtags.h:
9904         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9905
9906 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9907
9908         * LyXAction.C:
9909         * commandtags.h:
9910         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9911
9912 2002-07-22  Herbert Voss  <voss@lyx.org>
9913
9914         * lengthcommon.C:
9915         * lyxlength.[Ch]: add support for the vertical lengths
9916
9917 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9918
9919         * toc.[Ch]: std:: fixes
9920
9921 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9922
9923         * lyxrc.C: do not include lyx_main.h
9924
9925         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9926         for layouts
9927
9928         * lyxrc.C:
9929         * encoding.C:
9930         * bufferlist.C:
9931         * BufferView2.C: include "lyxlex.h"
9932
9933         * tabular.h:
9934         * bufferparams.h: do not #include "lyxlex.h"
9935
9936         * lyxtextclasslist.C (Add): remove method
9937         (classlist): renamed to classlist_
9938
9939         * paragraph_pimpl.C:
9940         * paragraph.C:
9941         * text2.C:
9942         * CutAndPaste.C:
9943         * bufferview_funcs.C:
9944         * bufferlist.C:
9945         * text.C:
9946         * LaTeXFeatures.C:
9947         * buffer.C:
9948         * toc.C (getTocList): use BufferParams::getLyXTextClass
9949
9950         * toc.C (getTocList): use InsetFloat::addToToc
9951
9952         * toc.[Ch]: new files, containing helper functions to handle table
9953         of contents
9954
9955         * lyxfunc.C (dispatch): no need to remove spaces around command
9956         given as a string
9957         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9958         first command of the sequence; it is not very clever, but I do not
9959         have a better idea, actually
9960
9961         * LyXAction.C (LookupFunc): make sure to remove space at the
9962         beginning and end of the command
9963
9964 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9965
9966         * MenuBackend.C (getMenubar): new method: return the menubar of
9967         this menu set
9968         (read): treat differently reading of menu and menubar (in
9969         particular, the menubar has no name now)
9970         (Menu::menubar): remove
9971
9972         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9973         saving is finished
9974
9975 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9976
9977         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9978         a bibitem inset in a RTL paragraph.
9979
9980 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9981
9982         * paragraph_pimpl.C: constify
9983
9984         * BufferView_pimpl.C:
9985         * LaTeX.C:
9986         * lyxfunc.C: fix dispatch in a nicer way
9987
9988 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9989
9990         * lyxfunc.C (dispatch):
9991         * BufferView_pimpl.C:
9992         * BufferView_pimpl.h:
9993         * BufferView.C:
9994         * BufferView.h: rename Dispatch() to dispatch()
9995
9996         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9997
9998         * lyxlayout.C (Read): honor DependsOn tag
9999
10000         * lyxlayout.[Ch] (depends_on): new method
10001
10002         * version.C.in: update lyx_docversion
10003
10004         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10005
10006         * paragraph.C (validate): remove from here...
10007         * paragraph_pimpl.C (validate): ... and move here
10008         (isTextAt): make it const
10009
10010         * buffer.C (getLists): ws cleanup
10011
10012 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10013
10014         * language.C (read): Use iso8859-1 encoding in latex_lang
10015         (this prevents LyX from crashing when using iso10646-1 encoding).
10016
10017 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10018
10019         * text2.C (toggleInset): if cursor is inside an inset, close the
10020         inset and leave cursor _after_ it
10021
10022 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10023
10024         * lyxfunc.C: move minibuffer completion handling out of here
10025
10026 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10027
10028         * BufferView_pimpl.C:
10029         * LaTeX.C: fix dispatch calls
10030
10031 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10032
10033         * text.C (drawChars): Fix Arabic text rendering.
10034
10035 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10036
10037         * LyXAction.C:
10038         * commandtags.h:
10039         * lyxfunc.C: remove message-push/pop
10040
10041         * lyxserver.C:
10042         * lyxfunc.h:
10043         * lyxfunc.C: rationalise some code by removing verboseDispatch
10044           in favour of a bool argument to dispatch()
10045
10046 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10047
10048         * lyx_main.C (init): make sure to read symlinks as absolute paths
10049
10050 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10051
10052         * lyxfunc.h:
10053         * lyxfunc.C: no need for commandshortcut to be a member
10054
10055 2002-07-15  André Pönitz <poenitz@gmx.net>
10056
10057         * converter.C: add support for $$s (scripts from lib/scripts dir)
10058         * lyx_main.C: white space
10059
10060 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10061
10062         * bufferlist.C:
10063         * lyxrc.h:
10064         * lyxrc.C: remove second exit confirmation
10065
10066 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10067
10068         * BufferView.h:
10069         * BufferView.C:
10070         * BufferView2.C:
10071         * BufferView_pimpl.h:
10072         * BufferView_pimpl.C:
10073         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10074
10075 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10076
10077         * MenuBackend.C (expand): add numeric shortcuts to document menu
10078
10079         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10080
10081 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10082
10083         * lyxfont.C (setLyXFamily):
10084         (setLyXSeries):
10085         (setLyXShape):
10086         (setLyXSize):
10087         (setLyXMisc):
10088         (lyxRead):
10089         * debug.C (value):
10090         * buffer.C (asciiParagraph): use ascii_lowercase
10091
10092 2002-07-15  Mike Fabian  <mfabian@suse.de>
10093
10094         * lyxlex_pimpl.C (search_kw):
10095         * lyxlex.C (getLongString):
10096         * converter.h (operator<):
10097         * converter.C (operator<):
10098         * buffer.C (parseSingleLyXformat2Token):
10099         (asciiParagraph):
10100         * ToolbarDefaults.C (read):
10101         * MenuBackend.C (checkShortcuts):
10102         (read):
10103         * LColor.C (getFromGUIName):
10104         (getFromLyXName): use the compare_ascii_no_case instead of
10105         compare_no_case, because in turkish, 'i' is not the lowercase
10106         version of 'I', and thus turkish locale breaks parsing of tags.
10107
10108 2002-07-16  Angus Leeming  <leeming@lyx.org>
10109
10110         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10111         now takes a Buffer const & argument.
10112
10113 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10114
10115         * BufferView.C (resize): check there's a buffer to resize
10116
10117 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10118
10119         * lyxfunc.C: remove dead code
10120
10121         * lyxserver.h:
10122         * lyxserver.C: use lyx_guii::set_read_callback
10123
10124 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10125
10126         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10127         an inset in a RTL paragraph.
10128
10129 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10130
10131         * lyxfunc.C: repaint after a font size update
10132
10133 2002-07-15  André Pönitz <poenitz@gmx.net>
10134
10135         * lyxlength.C: inBP should be able to return negative values
10136
10137 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10138
10139         * lyxfunc.C: use lyx_gui::update_fonts()
10140
10141 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10142
10143         * lyxfunc.C: use lyx_gui::update_color()
10144
10145 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10146
10147         * bufferlist.C:
10148         * lyxfunc.h:
10149         * lyxfunc.C:
10150         * lyxrc.h:
10151         * lyxrc.C: remove file->new asks for name option, and let
10152           buffer-new take an argument
10153
10154 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10155
10156         * BufferView_pimpl.C: remove unneeded extra repaint()
10157
10158 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10159
10160         * LyXAction.C: allow command-sequence with NoBuffer
10161
10162         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10163
10164 2002-07-10  Angus Leeming  <leeming@lyx.org>
10165
10166         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10167
10168 2002-07-09  Angus Leeming  <leeming@lyx.org>
10169
10170         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10171
10172 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10173
10174         * lengthcommon.h: whitespace
10175
10176         * lyxfunc.C: update scrollbar after goto paragraph
10177
10178         * lyxtext.h: factor out page break drawing, and fix it so
10179           page break/added space paints as selected nicely
10180
10181 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10182
10183         * BufferView_pimpl.C: add FIXMEs, clean up a little
10184
10185 2002-07-09  André Pönitz <poenitz@gmx.net>
10186
10187         * lyxfont.[Ch]: support for wasy symbols
10188
10189 2002-07-08  André Pönitz <poenitz@gmx.net>
10190
10191         * BufferView_pimpl.C: apply John's patch for #93.
10192
10193 2002-07-05  Angus Leeming  <leeming@lyx.org>
10194
10195         * BufferView_pimpl.C (buffer): generate previews if desired.
10196
10197         * LColor.h: add "preview" to the color enum.
10198
10199         * LColor.C (LColor): add a corresponding entry to the items array.
10200
10201         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10202         with this buffer.
10203
10204 2002-07-05  Angus Leeming  <leeming@lyx.org>
10205
10206         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10207         The body of the code is now in the method that is passed an ostream &
10208         rather than a file name.
10209         Pass an additional only_preamble parameter, useful for the forthcoming
10210         preview stuff.
10211
10212 2002-07-03  André Pönitz <poenitz@gmx.net>
10213
10214         * lyxfunc.C: simplify getStatus() a bit for math stuff
10215
10216 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10217
10218         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10219
10220 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10221
10222         * text.C (changeRegionCase): do not change case of all the
10223         document when region ends at paragraph end (bug #461)
10224
10225 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10226
10227         * paragraph.C (startTeXParParams):
10228         (endTeXParParams): add \protect when necessary
10229
10230 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10231
10232         * BufferView_pimpl.C (workAreaExpose): remove warning
10233
10234 2002-06-27  Angus Leeming  <leeming@lyx.org>
10235
10236         * Makefile.am: add lyxlayout_ptr_fwd.h.
10237
10238 2002-06-26  André Pönitz <poenitz@gmx.net>
10239
10240         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10241
10242 2002-06-25  Angus Leeming  <leeming@lyx.org>
10243
10244         * lyxfunc.C (dispatch): Comment out the call to
10245         grfx::GCache::changeDisplay. The method no longer exists now that the
10246         pixmap generation part of the graphics loader has been moved into
10247         InsetGraphics.
10248
10249 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10250
10251         * text2.C: layout as layout
10252
10253         * text.C: layout as layout
10254
10255         * tabular.C (OldFormatRead): layout as layout
10256
10257         * paragraph_pimpl.C (TeXDeeper): layout as layout
10258         (realizeFont): layout as layout
10259
10260         * paragraph.C (writeFile): layout as layout
10261         (validate): layout as layout
10262         (getFont): layout as layout
10263         (getLabelFont): layout as layout
10264         (getLayoutFont): layout as layout
10265         (breakParagraph): layout as layout
10266         (stripLeadingSpaces): layout as layout
10267         (getEndLabel): layout as layout
10268         (getMaxDepthAfter): layout as layout
10269         (applyLayout): layout as layout
10270         (TeXOnePar): layout as layout
10271         (simpleTeXOnePar): layout as layout
10272         (TeXEnvironment): layout as layout
10273         (layout): layout as layout
10274         (layout): layout as layout
10275
10276         * lyxtextclass.C (compare_name): new functor to work with
10277         shared_ptr, layout as layout
10278         (Read): layout as layout
10279         (hasLayout): layout as layout
10280         (operator): layout as layout
10281         (delete_layout): layout as layout
10282         (defaultLayout): layout as layout
10283
10284         * lyxlayout_ptr_fwd.h: new file
10285
10286         * lyxlayout.C (Read): layout as layout
10287
10288         * lyx_cb.C (MenuInsertLabel): layout as layout
10289
10290         * bufferlist.C (newFile): layout as layout
10291
10292         * buffer.C (readLyXformat2): layout as layout
10293         (parseSingleLyXformat2Token): layout as layout
10294         (insertStringAsLines): layout as layout
10295         (asciiParagraph): layout as layout
10296         (latexParagraphs): layout as layout
10297         (makeLinuxDocFile): layout as layout
10298         (simpleLinuxDocOnePar): layout as layout
10299         (makeDocBookFile): layout as layout
10300         (simpleDocBookOnePar): layout as layout
10301         (getLists): layout as layout
10302
10303         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10304
10305         * CutAndPaste.C (cutSelection): layout as layout
10306         (pasteSelection): layout as layout
10307         (SwitchLayoutsBetweenClasses): layout as layout
10308
10309         * BufferView_pimpl.C (Dispatch): layout as layout
10310         (smartQuote): layout as layout
10311
10312         * BufferView2.C (unlockInset): layout as layout
10313
10314 2002-06-24  André Pönitz <poenitz@gmx.net>
10315
10316         * lyxfunc.C: fix #487
10317
10318 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10319
10320         * lyxrc.h:
10321         * lyxrc.C:
10322         * lyxfunc.C: remove display_shortcuts, show_banner
10323
10324 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10325
10326         * Buffer_pimpl.C: oops, update on resize
10327
10328 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10329
10330         * buffer.C:
10331         * converter.C:
10332         * exporter.C:
10333         * lyxfunc.C:
10334         * BufferView.h:
10335         * BufferView.C: use repaint()
10336
10337         * BufferView_pimpl.h:
10338         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10339           as it's a clearer description. Remove superfluous
10340           redraws.
10341
10342 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10343
10344         * text.C: fix bug 488. Not ideal, but getting
10345           getWord() to work properly for the insets that
10346           matter is more difficult ...
10347
10348 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10349
10350         * BufferView_pimpl.C:
10351         * LyXAction.C:
10352         * commandtags.h:
10353         * lyxfunc.C: remove the six million index lyxfuncs to just
10354           one, and DTRT (bug 458)
10355
10356 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10357
10358         * BufferView.h:
10359         * BufferView.C:
10360         * BufferView_pimpl.h:
10361         * BufferView_pimpl.C: clean up resize() stuff,
10362           and unnecessary updateScreen()s
10363
10364 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10365
10366         * BufferView.h:
10367         * BufferView.C:
10368         * BufferView_pimpl.h:
10369         * BufferView_pimpl.C:
10370         * lyxfind.h:
10371         * lyxfind.C:
10372         * minibuffer.C: remove focus management of workarea,
10373           not needed. Use screen's greyOut()
10374
10375 2002-06-17  Herbert Voss  <voss@lyx.org>
10376
10377         * converter.C: (convert) do not post a message, when converting
10378         fails, let the calling function decide what to do in this case
10379
10380 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10381
10382         * lyxfunc.C: tidy up a little
10383
10384 2002-06-16    <alstrup@diku.dk>
10385
10386         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10387         Got rid of FORMS_H_LOCATION include. Now we are
10388         GUII.
10389
10390 2002-06-15  LyX Development team  <lyx@rilke>
10391
10392         * buffer.[Ch] (sgmlOpenTag):
10393         (sgmlCloseTag): Added support for avoiding pernicious mixed
10394         content. Return number of lines written.
10395
10396         (makeLinuxDocFile):
10397         (makeDocBookFile): Fixed calls to sgml*Tag.
10398         Simple white space clean.
10399
10400         (simpleDocBookOnePar): Simple white space clean.
10401
10402         * tabular.[Ch] (docBook): Renamed to docbook and got another
10403         argument to related with the pernicious mixed content.
10404
10405         (docbookRow): Fixed calls for docbook inset method.
10406
10407 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10408
10409         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10410         so it's X11 independent.
10411
10412         * kb*.[Ch]: ditto.
10413
10414         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10415
10416 2002-06-15  Lyx Development team  <lyx@electronia>
10417
10418         * intl.h: Renamed getTrans to getTransManager.
10419
10420 2002-06-14  Angus Leeming  <leeming@lyx.org>
10421
10422         * Makefile.am: nuke forgotten stl_string_fwd.h.
10423
10424 2002-06-12  Angus Leeming  <leeming@lyx.org>
10425
10426         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10427
10428 2002-06-13  Angus Leeming  <leeming@lyx.org>
10429
10430         * LaTeX.C:
10431         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10432
10433 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10434
10435         * kbmap.C (getiso): add support for cyrillic and greek
10436
10437 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10438
10439         * BufferView.h:
10440         * BufferView.C:
10441         * BufferView_pimpl.h:
10442         * BufferView_pimpl.C: move bogus scrolling logic
10443           to xforms
10444
10445 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10446
10447         * lyxfunc.C:
10448         * BufferView_pimpl.C: view->resize() change
10449
10450 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10451
10452         * BufferView_pimpl.C: topCursorVisible
10453           prototype change
10454
10455 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10456
10457         * Makefile.am:
10458         * lyx_gui.h:
10459         * lyx_gui.C: move to frontends/
10460
10461         * main.C:
10462         * lyx_main.h:
10463         * lyx_main.C: changes from above
10464
10465 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10466
10467         * intl.C:
10468         * intl.h:
10469         * kbmap.C:
10470         * kbsequence.C:
10471         * lyx_cb.C:
10472         * lyx_main.C: minor tidy
10473
10474 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10475
10476         * BufferView_pimpl.h:
10477         * BufferView_pimpl.C:
10478         * BufferView.h:
10479         * BufferView.C: make painter() const,
10480           remove dead code
10481
10482         * BufferView2.C: use screen() accessor
10483
10484         * lyx_main.h:
10485         * lyx_main.C: some minor cleanup
10486
10487 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10488
10489         * BufferView_pimpl.h:
10490         * BufferView_pimpl.C: remove enter/leaveView,
10491           use workHeight()
10492
10493 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10494
10495         * BufferView.h:
10496         * BufferView.C:
10497         * BufferView2.C:
10498         * BufferView_pimpl.h:
10499         * BufferView_pimpl.C: only construct screen once,
10500           rename
10501
10502         * lyxrc.C: remove pointless comment
10503
10504 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10505
10506         * BufferView.h:
10507         * BufferView.C: remove active() and belowMouse()
10508
10509         * BufferView_pimpl.h:
10510         * BufferView_pimpl.C: use workarea() not workarea_,
10511           and make it use a scoped_ptr instead
10512
10513 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10514
10515         * lyx_gui.C: add debug message on BadWindow
10516
10517 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10518
10519         * sp_spell.C: fdopen is not part of the C++ standard.
10520
10521         * paragraph.C (InsetIterator): use >= instead of ==
10522
10523 2002-06-07  Angus Leeming  <leeming@lyx.org>
10524
10525         Fixes needed to compile with Compaq cxx 6.5.
10526         * BufferView_pimpl.C:
10527         * DepTable.C:
10528         * buffer.C:
10529         * converter.C:
10530         * encoding.C:
10531         * lyx_gui.C:
10532         * lyx_main.C:
10533         * lyxtextclasslist.C:
10534         * minibuffer.C:
10535         * sp_spell.C:
10536         * tabular_funcs.C:
10537         * vc-backend.C:
10538         all c-library variables have been moved into namespace std. Wrap
10539         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10540
10541         * lyxlength.C:
10542         * tabular-old.C:
10543         * tabular.C:
10544         Add a using std::abs declaration.
10545
10546         * kbmap.h (modifier_pair):
10547         * paragraph.h (InsetTable, InsetList):
10548         * lyxfont.h (FontBits):
10549         type definition made public.
10550
10551         * bufferlist.C (emergencyWriteAll): the compiler complains that
10552         there is more than one possible lyx::class_fun template to choose from.
10553         I re-named the void specialisation as lyx::void_class_fun.
10554
10555         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10556
10557         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10558         the compiler is is unable to find tostr in write_attribute.
10559
10560 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10561
10562         * buffer.C (sgmlError): hide #warning
10563
10564 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10565
10566         * xtl/*: get rid of xtl, which is not in use anyway
10567
10568         * LyXAction.C (init):
10569         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10570         were unimplemented xtl experimentation
10571
10572 2002-06-04  André Pönitz <poenitz@gmx.net>
10573
10574         * lyxfunc.C: disable array operation on simple formulae
10575
10576 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10577
10578         * converter.C: constify a bit
10579
10580 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10581
10582         * lyx_gui.C: check xforms version correctly
10583
10584 2002-04-30  Herbert Voss  <voss@lyx.org>
10585
10586         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10587         "keep" option
10588
10589 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10590
10591         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10592           attempt to register it with a VCS)
10593
10594 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10595
10596         * lyx_main.C (init): honor variables LYX_DIR_13x and
10597         LYX_USERDIR_13x
10598
10599 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10600
10601         * buffer.h:
10602         * buffer.C:
10603         * lyx_main.C: fix a crash on bad command line,
10604           and give a useful exit status on error
10605
10606         * lyxfunc.C (doImport): allow -i lyx to work
10607
10608 2002-03-30  André Pönitz <poenitz@gmx.net>
10609
10610         * lyxfunc.C: mathed font changes
10611
10612 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10613
10614         * LaTeX.C:
10615         * importer.h:
10616         * importer.C:
10617         * lyx_sty.h:
10618         * lyx_sty.C:
10619         * lyxlex.C:
10620         * lyxrow.h:
10621         * lyxtext.h:
10622         * paragraph.h:
10623         * paragraph.C:
10624         * texrow.h:
10625         * texrow.C:
10626         * text.C:
10627         * trans_mgr.h: srcdocs, and some minor cleanups
10628
10629 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10630
10631         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10632         call getFont all the time)
10633
10634 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10635
10636         * switch from SigC signals to boost::signals
10637
10638 2002-05-29  André Pönitz <poenitz@gmx.net>
10639
10640         * paragraph_pimpl.C (getChar): don't call size() too often...
10641
10642 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10643
10644         * paragraph_pimpl.C (insertChar): do not try to update tables when
10645         appending (pos == size())
10646
10647         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10648         in order to reduce drastically the number of comparisons needed to
10649         parse a large document
10650
10651 2002-05-29  André Pönitz <poenitz@gmx.net>
10652
10653         * text.C:
10654         * text2.C:
10655         * lyxtextclass.C:
10656         * sp_pspell.h:
10657         * textclasslist.[Ch]:
10658         * sp_ispell.h: whitespace change
10659
10660 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10661
10662         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10663         lyxaction directly now.
10664
10665 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10666
10667         * trans.C:
10668         * lyxfont.C:
10669         * lyxvc.C: remove unused headers
10670
10671 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10672
10673         * Makefile.am:
10674         * buffer.h:
10675         * undostack.h:
10676         * undostack.C:
10677         * undo_funcs.h:
10678         * undo_funcs.C: some cleanups. Use shared_ptr
10679           and a template for the undo stacks.
10680
10681 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10682
10683         * BufferView_pimpl.h:
10684         * BufferView_pimpl.C:
10685         * kbmap.h:
10686         * kbmap.C:
10687         * kbsequence.h:
10688         * kbsequence.C:
10689         * lyxfunc.h:
10690         * lyxfunc.C:
10691         * text2.C: use key_state/mouse_state
10692
10693 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10694
10695         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10696         and LSubstring
10697
10698         * chset.C: change include order
10699         (loadFile): use boost regex and get rid of LRegex and LSubstring
10700
10701         * Makefile.am (BOOST_LIBS): new variable
10702         (lyx_LDADD): use it
10703
10704         * LaTeX.C: change include order.
10705         (scanAuxFile): use boost regex and get rid of LRegex and
10706         LSubstring
10707         (deplog): ditto
10708
10709 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10710
10711         * ColorHandler.h:
10712         * ColorHandler.C:
10713         * FontInfo.h:
10714         * FontInfo.C: moved to frontends/xforms/
10715
10716         * FontLoader.h:
10717         * FontLoader.C: moved into frontends for GUIIzation
10718
10719         * Makefile.am:
10720         * lyx_gui.C:
10721         * lyxfont.C:
10722         * lyxfunc.C: changes from above
10723
10724 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10725
10726         * LColor.C: remove spurious X include
10727
10728         * BufferView_pimpl.C:
10729         * Makefile.am:
10730         * font.h:
10731         * font.C:
10732         * text.C:
10733         * text2.C: move font metrics to frontends/
10734
10735 2002-05-24  Juergen Vigna  <jug@sad.it>
10736
10737         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10738         setting the undo_cursor.
10739
10740         * ParagraphParameters.h: include local includes first.
10741
10742 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10743
10744         * BufferView_pimpl.C:
10745         * BufferView_pimpl.h:
10746         * Makefile.am:
10747         * WorkArea.h:
10748         * WorkArea.C:
10749         * screen.C: move WorkArea into frontends/
10750
10751         * lyxscreen.h:
10752         * screen.C:
10753         * text.C:
10754         * BufferView.C:
10755         * BufferView2.C: move LyXScreen into frontends/
10756
10757         * lyxlookup.h:
10758         * lyxlookup.C:
10759         * lyx_gui.C: move lyxlookup into frontends/xforms/
10760
10761 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10762
10763         * BufferView2.C:
10764         * BufferView_pimpl.C:
10765         * FontLoader.C:
10766         * LyXView.h:
10767         * LyXView.C:
10768         * Makefile.am:
10769         * WorkArea.C:
10770         * XFormsView.h:
10771         * XFormsView.C:
10772         * buffer.C:
10773         * bufferlist.C:
10774         * bufferview_funcs.C:
10775         * converter.C:
10776         * importer.C:
10777         * lyx_cb.C:
10778         * lyx_gui.C:
10779         * lyx_main.C:
10780         * lyx_find.C:
10781         * lyxfunc.C:
10782         * lyxvc.C:
10783         * minibuffer.C:
10784         * text.C:
10785         * text2.C:
10786         * trans.C:
10787         * vc-backend.C: move LyX/XFormsView into frontends/
10788
10789 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10790
10791         * Makefile.am:
10792         * PainterBase.C:
10793         * PainterBase.h:
10794         * Painter.C:
10795         * Painter.h:
10796         * WorkArea.C:
10797         * WorkArea.h:
10798         * screen.C:
10799         * tabular.C:
10800         * text.C:
10801         * text2.C: move Painter to frontends/
10802
10803 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10804
10805         * buffer.C: comment out some some code that depend upon lyx_format
10806         < 220
10807
10808         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10809         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10810
10811         * buffer.h (NO_COMPABILITY): turn off compability
10812
10813         * ColorHandler.C: include scoped_array.hpp
10814
10815         * font.C: Use more specific smart_ptr header.
10816         * Painter.C: ditto
10817         * gettext.C: ditto
10818         * ShareContainer.h: ditto
10819         * lyx_main.h: ditto
10820         * kbmap.h: ditto
10821         * FontInfo.h: ditto
10822         * BufferView_pimpl.h: ditto
10823         * ColorHandler.h: ditto
10824
10825         * kbmap.C (defkey): change call to shared_ptr::reset
10826
10827 2002-05-21  Juergen Vigna  <jug@sad.it>
10828
10829         * buffer.C (insertErtContents): fix to insert ert asis if it is
10830         non empty. Skip it completely if it contains only whitespaces.
10831
10832 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10833
10834         * BufferView_pimpl.C:
10835         * BufferView2.C: clear selection on paste (bug 393)
10836
10837 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10838
10839         * DepTable.C: include ctime
10840
10841 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10842
10843         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10844
10845 2002-05-14  Juergen Vigna  <jug@sad.it>
10846
10847         * text.C (breakParagraph): fixed function to honor the keepempty
10848         layout in the right maner and also to permit the right breaking
10849         algorithm on empty or non empyt keepempty paragraphs.
10850
10851         * paragraph.C (breakParagraph): we have to check also if the par
10852         is really empty (!size()) for isempty otherwise we do the wrong
10853         paragraph break.
10854
10855 2002-05-10  Juergen Vigna  <jug@sad.it>
10856
10857         * buffer.[Ch] : The following are only changes to the ert
10858         compatibility read reading old LaTeX layout and font stuff and
10859         convert it to ERTInsets.
10860
10861         * buffer.h: added isErtInset().
10862
10863         * buffer.C (struct ErtComp): add a fromlayout bool to check
10864         if we're inside a LaTeX layout.
10865         (isErtInset): new helper function.
10866         (insertErtContents): look for other ert insets before this one
10867         and insert the contents there, so that we don't have subsequent
10868         ERT insets with nothing between them. This way we create only one
10869         inset with multiple paragraphs. Also check if we don't insert only
10870         spaces ' ' as they are ignored anyway afterwards in the .tex file
10871         so if we have only spaces we will ignore this latex part in the
10872         new file.
10873         (parseSingleLyXformat2Token \\layout): better compatibility when
10874         reading layout-latex stuff.
10875         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10876         language tag.
10877         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10878         stuff after reading the inset only get the information back from
10879         the stack.
10880
10881 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10882
10883         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10884
10885         * LaTeXFeatures.C (getBabelOptions): New method.
10886
10887 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10888
10889         * BufferView_pimpl.C (Dispatch): work around missing argument for
10890         'layout'
10891
10892 2002-05-08  Juergen Vigna  <jug@sad.it>
10893
10894         * text.C (leftMargin): handle paragraph leftindent.
10895
10896         * paragraph.C (writeFile): write the new \\leftindent tag.
10897         (validate): handle leftindent code.
10898         (TeXEnvironment): handle paragraphleftindent code again.
10899
10900         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10901
10902         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10903         for paragrap_extra indent code and new token \\leftindent.
10904         (latexParagraphs): handle the leftindent as environment.
10905
10906         * ParameterStruct.h: added leftindent support.
10907
10908         * ParagraphParameters.C (leftIndent): added support functions for
10909         the paragraph left indent.
10910
10911         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10912         more appropriate.
10913
10914 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10915
10916         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10917         inside insetERT.
10918
10919         * text.C (computeBidiTables): No bidi in insetERT.
10920
10921         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10922         in RTL documents.
10923
10924 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10925
10926         * version.C.in: pre 5
10927
10928 2002-05-02  José Matos  <jamatos@fep.up.pt>
10929         * buffer.C (makeDocBookFile): white space changes, add newline to
10930         command styles.
10931         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10932
10933         * tabular.C (docBook): fix typo.
10934
10935 2002-05-03  Juergen Vigna  <jug@sad.it>
10936
10937         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10938         change in LyXText as we can not be sure it was not freed.
10939         (drawOneRow): remove unused code.
10940
10941         * text.C (drawInset): redo the calculation of the need_break_row as
10942         it could have a row which was already freed.
10943         (draw): look at the return value of drawInset and return false if
10944         it also returned false.
10945         (paintRowText): look at the return value of draw and return false if
10946         it also returned false.
10947
10948         * lyxtext.h: added bool return type to drawInset() and draw() so that
10949         if we have a change in the row so that the rowbreak has to be redone
10950         we abort drawing as it will be called again.
10951
10952 2002-05-02  Juergen Vigna  <jug@sad.it>
10953
10954         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10955         a change in the maintext also if we're inside an inset.
10956         (Dispatch): set the cursor again after a break line and after the
10957         screen has been updated as it could be we're in a different row.
10958
10959         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10960         to set the cursor behind the pargraph with > size().
10961         (setCursor): check also for the same paragraph when checking where
10962         to put the cursor if we have a NFR inset.
10963
10964         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10965         parts of layout read further up as it still was in the wrong
10966         position.
10967
10968 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10969
10970         * screen.C (drawFromTo): change sine fullRebreak always return
10971         true.
10972
10973         * buffer.C (parseSingleLyXformat2Token): reindent some
10974
10975         * BufferView_pimpl.C (update): change since fullRebreak always
10976         return true.
10977         (Dispatch): git rid of the last hardcoded "Standard"s.
10978
10979 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10980
10981         * text2.[Ch] (fullRebreak): make it return void now that we always
10982         returned true.
10983
10984 2002-04-30  Juergen Vigna  <jug@sad.it>
10985
10986         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10987         ert compatibility check for "latex" layout.
10988
10989 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10990
10991         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10992         minipages: use col% instead of p%, and also use the current font.
10993         (makeLaTeXFile): Fix use babel condition.
10994         (parseSingleLyXformat2Token): Correct font when reading old floats.
10995
10996 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10997
10998         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10999         inserting list of floats.
11000
11001 2002-04-25  Herbert Voss  <voss@lyx.org>
11002
11003         * MenuBackend.C (expand): don't add the graphics extensions to the
11004         export menu
11005
11006 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11007
11008         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11009         non-existing layout, do not complain if it was the default layout
11010         of the original class (bug #342)
11011
11012 2002-04-24  Juergen Vigna  <jug@sad.it>
11013
11014         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11015         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11016
11017 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11018
11019         * buffer.C (getBibkeyList): If using \bibliography, return the
11020         option field with the reference itself. Enables us to provide natbib
11021         support when using \bibliography.
11022
11023 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11024
11025         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11026
11027         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11028         natbib is provided by the LaTeX class.
11029
11030 2002-04-23  Juergen Vigna  <jug@sad.it>
11031
11032         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11033         Wakeup functions.
11034
11035         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11036
11037 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11038
11039         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11040
11041         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11042         ensuremath around textordmasculine, textordfeminine and
11043         textdegree.
11044
11045 2002-04-19  Juergen Vigna  <jug@sad.it>
11046
11047         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11048         reinitializing the buffer otherwise row-dimensions may be wrong.
11049         (update): reset also the selection cursors if they do exits otherwise
11050         their x/y positions may be wrong.
11051
11052         * text2.C (cursorDown): don't enter the inset if we came from a row
11053         above and are one row over the inset.
11054
11055         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11056         really leaving an inset.
11057
11058 2002-04-18  Juergen Vigna  <jug@sad.it>
11059
11060         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11061         of the selected paragraph does not have the selected layout also if
11062         the last one had!
11063
11064         * text2.C (setLayout): fixed bug which did not change last selected
11065         paragraph.
11066
11067         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11068         changed the read and substituted \\end_float with \\end_inset!
11069
11070         * BufferView_pimpl.C (cursorPrevious):
11071         (cursorNext): fixed to make it work with rows heigher than the work
11072         area without moving the cursor only the draw of the row.
11073         (workAreaMotionNotify): fix jumping over high rows.
11074
11075 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11076
11077         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11078         Ressler.
11079
11080 2002-04-16  Juergen Vigna  <jug@sad.it>
11081
11082         * text2.C (setCursor): set also the irow().
11083         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11084         (cursorUp):
11085         (cursorDown): support for locking an inset if the x_fix value goes
11086         inside it. That way I can transverse insets too with cursor up/down.
11087
11088         * lyxrow.h: added irow helper function same as other (i) functions.
11089
11090         * BufferView_pimpl.C (cursorPrevious):
11091         (cursorNext): fixed for insets!
11092
11093 2002-04-15  Juergen Vigna  <jug@sad.it>
11094
11095         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11096         position otherwise it is wrong in some cases.
11097
11098         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11099         inside the inset before the call.
11100
11101 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11102
11103         * buffer.[Ch] (getBibkeyList): make it const.
11104
11105 2002-04-12  Juergen Vigna  <jug@sad.it>
11106
11107         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11108
11109         * text2.C (getCursorX): new helper function
11110         (setCursor): compute also ix_
11111         (setCursorFromCoordinates): set also ix.
11112
11113         * lyxcursor.h: added ix_ and helper functions.
11114
11115         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11116
11117         * buffer.C (insertStringAsLines): dont break paragraph if the this
11118         paragraph is inside an inset which does not permit it!
11119
11120         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11121         also with no chars on this paragraph.
11122         (paintRowText): only paint stuff if it's inside the workarea!
11123
11124         * paragraph.C (breakParagraph): honor keepempty flag and break the
11125         paragraph always below not above.
11126
11127         * BufferView2.C (unlockInset): update the paragraph layout on inset
11128         unlock as we changed paragraph in such a case.
11129
11130         * lyxfind.C (LyXFind): clear the former selection if not found!
11131
11132         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11133         again called in insertChar().
11134
11135         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11136         an inset which uses the whole row!
11137         (rightMargin): ditto.
11138         (insertChar): force a rebreak if we inserted an inset!
11139
11140 2002-03-28  Herbert Voss  <voss@lyx.org>
11141
11142         * lyxlength.[Ch]: add inBP() to get the right PS-point
11143         units (BigPoint). With inPixels we have rounding errors
11144
11145 2002-04-11  Juergen Vigna  <jug@sad.it>
11146
11147         * text2.C (setCursorFromCoordinates): set iy to the right value.
11148         (setCursor): add check if row->previous exists!
11149
11150         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11151         an old float_type as this was the case in the old code!
11152
11153         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11154
11155         * BufferView2.C (showLockedInsetCursor): use iy
11156         (fitLockedInsetCursor): ditto
11157
11158         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11159         locked insets as there we have the right value now.
11160
11161         * lyxcursor.C: added iy_ variable and iy functions to set to the
11162         baseline of cursor-y of the locked inset.
11163
11164         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11165         (setCursor): fixed for insets which need a full row.
11166
11167         * text.C (rowLastPrintable): don't ignore the last space when before
11168         an inset which needs a full row.
11169         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11170         as last character of a row when before a inset which needs a full row.
11171
11172 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11173
11174         * version.C.in: update date
11175
11176         * text2.C (fullRebreak): try to always return true and see what
11177         happens...
11178
11179 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11180
11181         * MenuBackend.C (expand): use Floating::listName
11182
11183         * FloatList.C (FloatList): add listName argument to the built-in
11184         floats
11185
11186         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11187         text associated with the float.
11188
11189 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11190
11191         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11192
11193 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11194
11195         * ShareContainer.h: add a couple of missing typenames.
11196
11197 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11198
11199         * lyxrc.C (getDescription): use _() correctly rather than N_().
11200
11201 2002-03-28  Herbert Voss  <voss@lyx.org>
11202
11203         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11204         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11205
11206 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11207
11208         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11209         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11210
11211 2002-03-29  Juergen Vigna  <jug@sad.it>
11212
11213         * lyxfunc.C (dispatch): add a missing fitCursor call.
11214
11215         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11216         it was scrolled by a cursor move, so return the bool status.
11217
11218         * BufferView.C (fitCursor): return the bool flag also to the outside
11219         world as this is needed.
11220
11221         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11222
11223         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11224         call the edit() as it is not needed (and wrong) IMO.
11225         (workAreaButtonPress): set the screen_first variable before evt.
11226         unlock the inset as this may change screen_first and then we have
11227         a wrong y position for the click!
11228
11229 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11230
11231         * MenuBackend.C (expand): another translation that I missed
11232
11233 2002-03-28  Juergen Vigna  <jug@sad.it>
11234
11235         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11236
11237         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11238
11239 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11240
11241         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11242
11243         * MenuBackend.C (expand): fix export/view/update when there is no
11244         document open.
11245
11246 2002-03-27  Herbert Voss  <voss@lyx.org>
11247
11248         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11249         and text%
11250
11251 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11252
11253         * bufferview_funcs.C (currentState): only show paragraph number
11254         for is DEVEL_VERSION is set.
11255
11256         * lyxfunc.C (dispatch): put warning in INFO channel
11257
11258         * MenuBackend.C (expand): translate the name of floats
11259
11260         * FloatList.C (FloatList): mark the float names for translation
11261
11262         * converter.C (convert): use LibScriptSearch
11263
11264 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11265
11266         * MenuBackend.C (defaults): fix default menu (we might as well get
11267         rid of it...)
11268
11269 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11270
11271         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11272         directory.
11273
11274 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11275
11276         * lyxvc.C: reorder includes.
11277
11278 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11279
11280         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11281           properly
11282
11283 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11284
11285         * CutAndPaste.C: change layouts earlier on paste
11286           to avoid crashing when calling getFont()
11287
11288 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11289
11290         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11291         irritating #error.
11292
11293 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11294
11295         * WorkArea.C: remove 'Pending' debug message.
11296
11297         * most files: ws cleanup
11298
11299         * buffer.[Ch]: ws changes
11300
11301         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11302
11303 2002-03-21  Juergen Vigna  <jug@sad.it>
11304
11305         * tabular.C (SetMultiColumn): collapse also the contents of the
11306         cells and set the last border right. Added a Buffer const * param.
11307
11308 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11309
11310         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11311         linking or not.
11312
11313 2002-03-19  Juergen Vigna  <jug@sad.it>
11314
11315         * text2.C (clearSelection): reset also xsel_cache.
11316
11317         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11318         where it needs to be called (John tells us to do so too :)
11319         (selectionLost): reset sel_cache.
11320
11321         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11322
11323 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11324
11325         * text2.C (setCursorIntern): put debuging code in INSETS channel
11326
11327 2002-03-19  André Pönitz <poenitz@gmx.net>
11328
11329         * lyxfunc.C: tiny whitespace change
11330
11331 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11332
11333         * ToolbarDefaults.C (init):
11334         * LyXAction.C (init):
11335         * commandtags.h:
11336         * BufferView_pimpl.C (Dispatch):
11337         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11338
11339 2002-03-19  Allan Rae  <rae@lyx.org>
11340
11341         * exporter.C (Export): removeAutoInsets before doing anything else.
11342         While I've just introduced a dependency on BufferView this really is
11343         the best place to clean the buffer otherwise you need to cleanup in
11344         a dozen places before calling export or cleanup in a dozen functions
11345         that export calls.
11346
11347         * converter.C (runLaTeX):
11348         (scanLog): Better handling of removeAutoInsets and screen updates.
11349
11350         * lyxfunc.C (dispatch): small whitespace changes
11351
11352 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11353
11354         * WorkArea.C (C_WorkAreaEvent): return a value.
11355         (event_cb): return 1 if we handled the event, 0 otherwise.
11356
11357         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11358
11359 2002-03-18  Juergen Vigna  <jug@sad.it>
11360
11361         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11362         (GetAdditionalWidth): ditto.
11363         (RightLine): ditto.
11364         (LeftLine): ditto.
11365
11366         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11367         inset if we're there actually (probably not used right now but this
11368         is the direction to go for unifying code).
11369         (paste): disable code to clear the selection.
11370
11371         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11372         inside an InsetText and move the check further up as it is in the
11373         wrong place.
11374
11375         * text2.C (pasteSelection): set a selection over the pasted text.
11376
11377 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11378
11379         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11380         and libgraphics to build on Cygwin.
11381
11382 2002-03-15  Juergen Vigna  <jug@sad.it>
11383
11384         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11385         inserting an Inset into the paragraph. I know this is not the best
11386         fix but we already use current_view in CutAndPaste so we will remove
11387         all of it's using at the same time.
11388
11389         * buffer.C (sgmlError): deactivated function till it is rewritten in
11390         the right mode, now it can create problems.
11391
11392         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11393         before accessing it.
11394
11395 2002-03-14  Juergen Vigna  <jug@sad.it>
11396
11397         * undo_funcs.C (textHandleUndo): do the right thing when updating
11398         the inset after the undo/redo.
11399
11400         * text2.C (setCursor): just some testcode for #44 not ready yet.
11401
11402         * undo_funcs.C (textHandleUndo): set the next() and previous()
11403         pointers of the paragraph to 0 before deleting otherwise we have
11404         problems with the Paragraph::[destructor].
11405
11406         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11407         on a paragraph insertion.
11408
11409 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11410
11411         * buffer.C (asciiParagraph): use += operator for char append to
11412         string.
11413
11414         * paragraph.C (getFontSettings): compare >= not just >
11415         (highestFontInRange): ditto
11416         (setFont): ditto
11417
11418 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11419
11420         * paragraph.C: change several algorithm to be more appripriate for
11421         the problem domain. This is lookip in FontList and in the InsetList.
11422
11423 2002-03-13  André Pönitz <poenitz@gmx.net>
11424
11425         * commandtags.h:
11426         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11427
11428 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11429
11430         * commandtags.h:
11431         * LyXAction.C:
11432         * lyxfunc.C:
11433         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11434
11435 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11436
11437         * Painter.C (display): anon helper function, adjust code for this
11438         change.
11439         (pixmap): remove function.
11440
11441         * Painter.h: remove private display variable.
11442
11443         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11444
11445 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11446
11447         * WorkArea.[Ch]: remove figinset_canvas cruft.
11448
11449 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11450
11451         * lyxtextclass.C (operator): add one item cache optimization.
11452
11453         * bufferlist.h: doxy changes
11454
11455         * bufferlist.C: ws changes
11456
11457         * DepTable.[Ch] (ext_exist): place const in the right spot.
11458
11459         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11460         call resizeInsets.
11461         (workAreaExpose): call resizeInsets when the with BufferView changes.
11462         (Dispatch): adjust for protectedBlank removal
11463         (specialChar): call updateInset if the insert went ok.
11464
11465         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11466         specialChar instead.
11467
11468         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11469
11470         * BufferView.h: doxy change
11471
11472         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11473
11474         * lyxtextclass.C (operator[]): remove non-const version
11475         (defaultLayout): remove non-const version
11476
11477 2002-03-12  Juergen Vigna  <jug@sad.it>
11478
11479         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11480         did resize the LyXText too.
11481
11482         * buffer.C (readLyXformat2): set layout information on newly allocated
11483         paragraphs.
11484
11485         * tabular.C (OldFormatRead): set layout information on the paragraph.
11486
11487 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11488
11489         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11490
11491 2002-03-11  Juergen Vigna  <jug@sad.it>
11492
11493         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11494         plainly wrong.
11495         (resizeCurrentBuffer): force also the insets to resize themselfes.
11496         (moveCursorUpdate): fixed up for InsetText.
11497
11498 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11499
11500         * commandtags.h:
11501         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11502         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11503         value of Dialogs::tooltipsEnabled().
11504         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11505
11506 2002-03-08  Juergen Vigna  <jug@sad.it>
11507
11508         * BufferView_pimpl.C (updateInset): update inset inside inset also
11509         if it isn't inside theLockingInset().
11510
11511 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11512
11513         * buffer.C (asciiParagraph): redo some of the word and line length
11514         handling.
11515         (getLists): look for Caption instead of caption.
11516
11517 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11518
11519         * buffer.C (Buffer): initialize niceFile to true
11520         (makeLaTeXFile):
11521         (makeLinuxDocFile):
11522         (makeDocBookFile): make sure niceFile is true on exit
11523
11524 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11525
11526         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11527
11528 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11529
11530         * LyXSendto.C: remove.
11531         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11532         * lyx_gui.C: remove now-redundant comment.
11533         * ColorHandler.h: remove forward declaration of class WorkArea.
11534         * lyxfunc.C: remove #include "WorkArea.h".
11535
11536 2002-03-07  Juergen Vigna  <jug@sad.it>
11537
11538         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11539         got moved away with the DEPM and also set the inset_owner always
11540         right which before could have been omitted.
11541
11542 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11543
11544         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11545         wanted layout is not found.
11546
11547 2002-03-07  Juergen Vigna  <jug@sad.it>
11548
11549         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11550
11551 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11552
11553         * paragraph.C (breakParagraph): use default layout not layout of
11554         prev paragraph.
11555         (Paragraph): clear ParagraphParameters.
11556
11557 2002-03-06  Juergen Vigna  <jug@sad.it>
11558
11559         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11560         otherwise it would not be a valid lenght. Fixed a special case in
11561         the minipage compatibility read where we end the document with a
11562         minipage.
11563
11564         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11565         was set as it could be 0 for InsetTexts first entry.
11566
11567 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11568
11569         * paragraph.C (writeFile): if layout is empty write out
11570         defaultLayoutName().
11571
11572         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11573         file without named layout we set layout to defaultLayoutName().
11574
11575 2002-03-06  Juergen Vigna  <jug@sad.it>
11576
11577         * CutAndPaste.C (copySelection): set layout for new paragraph.
11578
11579         * text.C (prepareToPrint): leave ERT inset left aligned
11580         (leftMargin): don't indent paragraphs inside ERT insets
11581
11582 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11583
11584         * paragraph.C (breakParagraph): dont call clear do the work manually
11585
11586         * paragraph.[Ch] (clear): remove function
11587
11588 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11589
11590         * paragraph.C (Paragraph): dont call clear, the work has already
11591         been done.
11592
11593         * lyxtextclass.C (operator): assert if n is empty
11594
11595         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11596         work manually instead.
11597
11598 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11599
11600         * BufferView_pimpl.C: protect selectionLost against text == 0
11601
11602 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11603
11604         * text.C (breakParagraph): fix a setting layout to '0' problem.
11605
11606 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11607
11608         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11609         final location of file, for the included files, and graphics.
11610
11611 2002-03-05  Juergen Vigna  <jug@sad.it>
11612
11613         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11614
11615 2002-03-04  Juergen Vigna  <jug@sad.it>
11616
11617         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11618
11619         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11620         last column of multicolumn cells.
11621         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11622
11623 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11624
11625         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11626         file if it doesn't go to a temporary file.
11627
11628         * buffer.C (sgmlOpenTag):
11629         (sgmlCloseTag):  remove extra newline insertion.
11630
11631 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11632
11633         * text.C (getRowNearY): comment out debug msg
11634
11635 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11636
11637         * text2.C: first -> first_y
11638
11639         * text.C (getRowNearY): add some attemts at a possible
11640         optimization, not working.
11641
11642         * tabular.[Ch]: add BufferParams to several function so that newly
11643         created paragraph can be initialized to he default layotu for the
11644         buffers textclass.
11645
11646         * tabular-old.C (ReadOld): add buf->params to call of Init
11647
11648         * screen.C: rename text->first to text->first_y
11649
11650         * paragraph.C (breakParagraph): always set layout in the broken
11651         paragraph
11652
11653         * lyxtextclass.C (Read): remove lowercase
11654         (hasLayout): ditto
11655         (operator): ditto
11656         (delete_layout): ditto
11657
11658         * lyxtext.h: rename first -> first_y
11659
11660         * lyxlayout.C (Read): remove lowercase
11661         (name): ditto
11662         (setName): ditto
11663         (obsoleted_by): ditto
11664
11665         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11666
11667         * buffer.C (insertErtContents): add params are to InsetERT
11668         (parseSingleLyXformat2Token): add code to check if a paragraphs
11669         layout really exist.
11670         (parseSingleLyXformat2Token): add params to several inset
11671         constructors
11672         (asciiParagraph): remove lowercase, do the layout comparisons with
11673         no_case
11674
11675         * BufferView_pimpl.C (cursorNext): first -> first_y
11676         (resizeCurrentBuffer): first -> first_y
11677         (updateScrollbar): first -> first_y
11678         (scrollCB): first -> first_y
11679         (workAreaMotionNotify): first -> first_y
11680         (workAreaButtonPress): first -> first_y
11681         (checkInsetHit): first -> first_y
11682         (cursorPrevious): first -> first_y
11683         (cursorNext): first -> first_y
11684         (Dispatch): add buffer_->params to severl inset contructors
11685
11686 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11687
11688         * lyxlayout.C (Read): remove some debug info that I forgot.
11689
11690         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11691         clean up the code slightly.
11692         (makeLinuxDocFile): ditto
11693         (makeDocBookFile): ditto
11694
11695         * text2.C: layout as string
11696
11697         * text.C: layout as string
11698
11699         * paragraph_pimpl.C: layout as string
11700
11701         * paragraph.[Ch]: layout as string
11702
11703         * lyxtextclasslist.[Ch]: layout as string
11704
11705         * lyxtextclass.[Ch]: layout as string
11706
11707         * lyxtext.h: layout as string
11708
11709         * lyxlayout.[Ch]: layout as string
11710
11711         * lyx_cb.C: layout as string
11712
11713         * bufferview_funcs.C: layout as string
11714
11715         * bufferparams.C: layout as string
11716
11717         * buffer.C: layout as string
11718
11719         * LyXView.[Ch]: layout as string
11720
11721         * LaTeXFeatures.[Ch]: layout as string
11722
11723         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11724
11725         * BufferView_pimpl.C: change current_layout to string, remove
11726         lyx::layout_type.
11727         (Dispatch):
11728         (smartQuote):
11729         (insertInset):
11730         (workAreaButtonRelease): layout as string
11731
11732         * BufferView2.C (unlockInset): adjust
11733
11734         * vspace.C (asLatexCommand): use an explict temp variable.
11735
11736 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11737
11738         * Makefile.am: use FRONTEND_*
11739
11740 2002-03-01  Juergen Vigna  <jug@sad.it>
11741
11742         * tabular.C (SetWidthOfMulticolCell): changed to something better
11743         I hope but still work in progress.
11744         (recalculateMulticolumnsOfColumn): renamed function from
11745         recalculateMulticolCells as it is more appropriate now.
11746         (SetWidthOfCell): calculate multicols better.
11747
11748 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11749
11750         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11751
11752         * lyxfunc.C (processKeySym): print sequence also if it is
11753         `deleted' (complete)
11754
11755         * kbsequence.C (print): print sequence even if it is deleted
11756         (complete would be a better word, actually).
11757
11758         * lyxfunc.C (dispatch): print complete options after a prefix key
11759
11760         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11761
11762 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11763
11764         * text2.C (setCharFont): eliminate setCharFont code duplication.
11765
11766 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11767
11768         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11769         LFUN_TABULAR_FEATURE (bug #177)
11770
11771 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11772
11773         * Makefile.am: remove figure.h
11774
11775 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11776
11777         * Bufferview_pimpl.C:
11778         * CutAndPasteC:
11779         * LaTeX.C:
11780         * LyXSendto.C:
11781         * buffer.C:
11782         * bufferlist.C:
11783         * converter.C:
11784         * language.C:
11785         * lyxfunc.C:
11786         * lyxvc.C:
11787         * paragraph.C:
11788         * text.C:
11789         * text2.C: remove #include "lyx_gui_misc.h".
11790
11791         * LaTeX.C: added #include <cstdio>
11792
11793 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11794
11795         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11796         that the paragraph following this one can have.
11797
11798         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11799
11800         * vspace.C (asLatexCommand): fix bogus gcc warning
11801
11802         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11803
11804 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11805
11806         * text2.C (setLayout): get rid of redundant code
11807
11808 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11809
11810         * text2.C (incDepth): make sure depth cannot be increased beyond
11811         reasonable values.
11812
11813 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11814
11815         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11816         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11817
11818         * PainterBase.h (image):
11819         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11820         a LyXImage const *.
11821
11822 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11823
11824         * BufferView.C:
11825         * BufferView.h:
11826         * BufferView_pimpl.C:
11827         * BufferView_pimpl.h:
11828         * LaTeXFeatures.C:
11829         * LyXAction.C:
11830         * LyXView.C:
11831         * Makefile.am:
11832         * UpdateList.h:
11833         * UpdateList.C:
11834         * buffer.C:
11835         * figure.h:
11836         * figureForm.C:
11837         * figureForm.h:
11838         * figure_form.C:
11839         * figure_form.h:
11840         * lyx_cb.C:
11841         * lyx_gui.C:
11842         * lyx_gui_misc.C:
11843         * lyxfunc.C:
11844         * sp_base.h:
11845         * sp_ispell.h:
11846         * sp_pspell.h:
11847         * sp_spell.C: remove fig inset, and the crap house of
11848           cards that follows it
11849
11850 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11851
11852         * Makefile.am:
11853         * lyxserver.C:
11854         * os2_defines.h:
11855         * os2_errortable.h:
11856         * nt_defines.h: move .h into support/
11857
11858         * vms_defines.h: remove
11859
11860         * WorkArea.C: add space in debug output
11861
11862         * text2.C:
11863         * paragraph.C:
11864         * buffer.C: add WITH_WARNINGS
11865
11866         * vc-backend.h:
11867         * vc-backend.C:
11868         * bufferlist.C: s/retrive/retrieve/, add docs
11869
11870         * vspace.h:
11871         * vspace.C:
11872         * kbmap.h:
11873         * lyxlength.h:
11874         * lyxgluelength.h:
11875         * length_common.h:
11876         * chset.h:
11877         * chset.C: add docs
11878
11879         * lyxgui.C: add ID to X error handler
11880
11881         * lyxtestclass.c: fix typo
11882
11883 2002-02-26  Juergen Vigna  <jug@sad.it>
11884
11885         * tabular_funcs.C (write_attribute): changed so that some default
11886         attributes are not written at all.
11887         (getTokenValue): set default values before trying to read the
11888         value so we have the return value always set as default if we don't
11889         find the token we search for.
11890
11891         * tabular.C (Write): write bools as bools not as strings!
11892
11893 2002-02-22  Juergen Vigna  <jug@sad.it>
11894
11895         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11896         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11897
11898         * text.C (leftMargin): don't add an indent for paragraphs inside
11899         tabular cells (fix #208).
11900
11901 2002-02-21  José Matos  <jamatos@fep.up.pt>
11902
11903         * tabular.C (docBook): fixed support for long tables.
11904
11905 2002-02-20  Juergen Vigna  <jug@sad.it>
11906
11907         * text2.C (getFont): get the drawing font of the Inset if this
11908         paragraph is inside an inset (only important for InsetERT for now).
11909
11910         * buffer.C (insertErtContents): use new lanugage params in ERT
11911         constructor.
11912
11913         * CutAndPaste.C: commenting out seemingly uneeded code.
11914
11915 2002-02-19  Allan Rae  <rae@lyx.org>
11916
11917         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11918         Iterators might be simple to use but they also get invalidated.
11919         (removeAutoInsets): renamed saved cursor tracking variables and added
11920         some comments to clarify what everything does.
11921
11922 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11923
11924         * Chktex.C:
11925         * LaTeX.C:
11926         * LyXSendto.C:
11927         * converter.C:
11928         * lyx_cb.C:
11929         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11930         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11931
11932         * lyxfunc.C:
11933         * vc-backend.h: remove #include "support/syscall.h"
11934
11935         * LaTeX.C:
11936         * LyXSendto.C:
11937         * converter.C: rearrange #includes in Lars' approved fashion.
11938
11939         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11940         forward declare class Timeout in the header file.
11941
11942         * XFormsView.C: changes due to the above.
11943
11944         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11945         similar to LyXView.
11946
11947         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11948         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11949
11950 2002-02-18  José Matos  <jamatos@fep.up.pt>
11951
11952         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11953         insets contents.
11954
11955 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11956
11957         * a lot of small ws changes
11958         * add a lot of using std::XXX
11959         * use std construcs some places where approp.
11960         * use some exisint stuff from lyxfunctional where approp.
11961         * Make file changes to use partial linking (lets test this now...)
11962
11963 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11964
11965         * Chktex.C:
11966         * buffer.C:
11967         remove #include "support/syscontr.h" as it's redundant. Always has been.
11968
11969         * Chktex.C:
11970         * LaTeX.C:
11971         * LyXSendto.C:
11972         * converter.C:
11973         * lyx_cb.C:
11974         * vc-backend.C:
11975         change Systemcalls::System to Systemcalls::Wait and
11976         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11977         No change of functionality, just reflects the stripped down Systemcalls
11978         class.
11979
11980 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11981
11982         * debug.[Ch]: add a GRAPHICS type to the enum.
11983
11984 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11985
11986         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11987
11988         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11989         there is an inset.
11990
11991 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11992
11993         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11994         match the changes below.
11995
11996         * text2.C (toggleInset): if there is not editable inset at cursor
11997         position, try to see if cursor is _inside_ a collapsable inset
11998         and close it.
11999
12000 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12001
12002         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12003         document menu has a nice checkbox
12004
12005 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12006
12007         * lyxlength.C (asLatexString): change PW to output as percent of
12008         \textwidth.
12009
12010         * lengthcommon.C: change '%' to 't%'
12011
12012         * lyxfunc.C (dispatch): a few comments from Martin
12013
12014 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12015
12016         * WorkArea.h:
12017         * WorkArea.C:
12018         * BufferView_pimpl.h:
12019         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12020           the X selection.
12021
12022 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12023
12024         * vspace.C (inPixels): fix compiler warning
12025
12026 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12027
12028         * lyxfunc.C (getStatus): fix status message for disabled commands.
12029
12030 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12031
12032         * BufferView_pimpl.C: fix crash on close buffer
12033         during selection (#227)
12034
12035 2002-01-27  Herbert Voss  <voss@lyx.org>
12036
12037         * buffer.C: link old Figure to new graphic inset
12038
12039 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12040
12041         * FontLoader.C (getFontinfo): Change the latex font names in order
12042         to match the names of type1inst.
12043
12044 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12045
12046         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12047
12048         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12049         (extchanged): ditto
12050         (ext_exist): ditto
12051         (remove_files_with_extension): ditto
12052         (remove_file): ditto
12053         (write): ditto
12054
12055         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12056         document is smaller than the work area height. Do not initialize
12057         static variables to 0.
12058
12059 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12060
12061         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12062
12063         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12064         LFUN_LAYOUT_PARAGRAPHS.
12065
12066         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12067         tabular. It is possible to provide a possible cell, which will
12068         typically be the actcell from the corresponding insettabular
12069
12070         * lyxfunc.C (getStatus): small cleanup; disable
12071         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12072         true
12073
12074 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12075
12076         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12077
12078         * paragraph.C (startTeXParParams):
12079         (endTeXParParams): new methods. The LaTeX code to
12080         start/end paragraph formatting
12081         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12082         empty (fixes bug #200)
12083
12084         * vspace.C (inPixels): adapt to the change below
12085         (inPixels): [later] more cleanups (remove unused variables)
12086
12087         * lyxlength.C (inPixels): change to use a width and a height as
12088         parameter.
12089
12090 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12091
12092         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12093         Replaced with \paperwidth
12094
12095         * DepTable.C (insert): add std:: qualifier
12096
12097 2002-01-18  Allan Rae  <rae@lyx.org>
12098
12099         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12100         updated also?
12101
12102         * text.C (drawInset): Turned out I didn't know enough about how
12103         rebreaking worked.  This fixes most of the redraw problems.  I see
12104         an occasional cursor trail when a line is broken now and the cursor
12105         placement can seem out by a few pixels also after a rebreak.
12106
12107 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12108
12109         * buffer.C (parseSingleLyXformat2Token): update because minipage
12110         width is now a LyXLength
12111
12112         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12113
12114         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12115         math insets
12116
12117 2002-01-17  Juergen Vigna  <jug@sad.it>
12118
12119         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12120
12121         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12122         is set correctly and the inset is updated correctly.
12123
12124 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12125
12126         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12127         the beginning of the loop.
12128
12129 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12130
12131         * lyxrc.C: improve help for use_scalable_fonts
12132
12133 2002-01-17  Allan Rae  <rae@lyx.org>
12134
12135         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12136
12137 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12138
12139         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12140         make sure to set their inset_owner to the right value (bug #171)
12141
12142 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12143
12144         * DepTable.h
12145         * DepTable.C: Implement mtime checking to reduce time spent doing
12146         CRCs.
12147
12148 2002-01-16  Juergen Vigna  <jug@sad.it>
12149
12150         * tabular.C (GetAdditionalHeight): one of error fixed.
12151
12152         * lyxrc.C (output): small fix in writing use_pspell.
12153
12154 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12155
12156         * sp_base.h: #include LString.h
12157
12158 2002-01-16  Allan Rae  <rae@lyx.org>
12159
12160         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12161         Can someone check this please?
12162
12163         * text.C (drawInset): It was possible that p.row would be removed by
12164         breakAgainOneRow upsetting a few other settings.  There may be another
12165         small tweak possible by setting need_break_row = 0 when p.row has been
12166         removed but I don't know enough about the logic here.
12167
12168 2002-01-15  Allan Rae  <rae@lyx.org>
12169
12170         * text.C (insertChar): removed conditional truism.
12171
12172         * BufferView2.C (removeAutoInsets): More tweaks.
12173         cur_par_prev could be a stray pointer.  Check for trailing empty line
12174         in case last line was cur_par and only had an error inset on it.
12175
12176 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12177
12178         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12179         absolute
12180
12181         * vc-backend.C (most methods):
12182         * exporter.C (Export):
12183         * converter.C (convert):
12184         (runLaTeX):
12185         * LyXSendto.C (SendtoApplyCB):
12186         * lyxfunc.C (dispatch):
12187         (menuNew):
12188         (open):
12189         (doImport):
12190         * lyx_cb.C (AutoSave):
12191         (InsertAsciiFile):
12192         * BufferView_pimpl.C (MenuInsertLyXFile):
12193         * buffer.C (runChktex): use Buffer::filePath().
12194
12195         * buffer.h: rename filename to filename_; rename filepath to
12196         filepath_ and make it private
12197         (filePath): new method
12198
12199         * buffer.C (writeFile): use fileName()
12200         (getLatexName):
12201
12202         * lyx_main.C (init): fix starting  of LyX when the binary is a
12203         link from so,ewhere else.
12204
12205         * minibuffer.C: include <cctype> for isprint
12206
12207 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12208
12209         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12210         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12211         name clash with InsetCollapsable's width function.
12212
12213 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12214
12215         * lastfiles.C: include <iterator>
12216
12217 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12218
12219         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12220         std::count.
12221
12222         * buffer.C (makeLaTeXFile): ditto.
12223         Also make loop operation more transparent.
12224
12225 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12226
12227         * ToolbarDefaults.C: remove trailing comma closing namespace.
12228
12229         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12230
12231         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12232         as in WorkArea.
12233
12234         * trans.C (Load): comment out unused variable, allowed.
12235
12236 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12237
12238         * minibuffer.[Ch] (append_char): new method to recieve input from the
12239         drop-down completion browser. If a key was pressed, then recieve this
12240         char and append it to the existing string.
12241         (peek_event): modify the positioning data passed to the completion
12242         browser so that it can be placed above the minibuffer rather than below.
12243 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12244
12245         * LyXAction.C (init): alloe error-next for readonly documents.
12246
12247         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12248         count.
12249
12250 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12251
12252         * bufferlist.C (readFile): create the buffer _after_ checking that
12253         the file exists.
12254
12255         * lyxfunc.C (verboseDispatch): fix handling of arguments
12256
12257         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12258
12259         * lyxrc.C: use string::erase() instead of initializing to "".
12260
12261
12262 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12263
12264         * BufferView_pimpl.h:
12265         * BufferView_pimpl.C:
12266         * WorkArea.h:
12267         * WorkArea.C:
12268         * text2.C: tell X when we have made a selection for copying
12269
12270 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12271
12272         * BufferView_pimpl.C (MenuInsertLyXFile):
12273         * lyxfunc.C (menuNew):
12274         (open):
12275         (doImport): add shortcuts to directory buttons
12276
12277         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12278         open a float)
12279
12280         * lyxfunc.C (setStatusMessage):
12281         (getStatusMessage): new methods
12282         (getStatus):use setStatusMessage instead of setErrorMessage
12283         (dispatch): when function is disabled, set error message here
12284         [instead of in getStatus previously]
12285
12286         * BufferView_pimpl.C (workAreaButtonRelease): update
12287         toolbar/menubar here too.
12288
12289 2002-01-13  Allan Rae  <rae@lyx.org>
12290
12291         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12292         Now seems indestructible.  Remaining task is to audit all other
12293         code affected by deleteEmptyParagraphMechanism.  One small quirk
12294         left is that an empty document with an error in the preamble can
12295         be made to report an error but no error box appears.  I don't know
12296         where it goes.
12297         (removeAutoInsets): Improved comments.
12298
12299 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12300
12301         * Thesaurus.h:
12302         * Thesaurus.C: update for Aiksaurus 0.14
12303
12304 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12305
12306         * text2.C (firstParagraph): removed member function, all uses
12307         replaces with ownerParagraph
12308         (redoParagraphs): here
12309         (updateInset): here
12310         (toggleAppendix): here
12311         * BufferView2.C (insertErrors): here
12312         (setCursorFromRow): here
12313
12314 2002-01-13  Allan Rae  <rae@lyx.org>
12315
12316         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12317         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12318         There is still a way to segfault this although you may have to do this
12319         multiple times: Have an InsetERT with an unknown command in it.
12320         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12321         <down-arrow>, <Enter> again, View->DVI, BANG!
12322
12323         * text2.C (setCursor):
12324         (deleteEmptyParagraphMechanism):
12325         * lyxtext.h (setCursor):
12326         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12327         Making use of the return value may help fix other bugs.
12328
12329 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12330
12331         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12332
12333         * LyXView.C (updateMenubar): call MenuBar::update here
12334         (updateToolbar): but not here
12335         (showState): do not update toolbar/menubar
12336
12337         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12338         should need to care about that.
12339
12340         * lyxfunc.C (verboseDispatch): simplify a bit
12341         (getStatus): have a version which takes a pseudoaction, and
12342         another which requires a (kb_action,string).
12343
12344         * LyXAction.C (retrieveActionArg): make it work also when action
12345         is not a pseudo-action.
12346         (getActionName): simplify a bit
12347         (helpText):
12348
12349 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12350
12351         * lyxfunc.C (verboseDispatch): new families of methods with
12352         several ways to specify a command and a bool to indicate whether
12353         the command name and shortcut should be displayed in minibuffer
12354         (eventually, we could extend that to a finer bitmask like
12355         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12356         (dispatch): the pristine dispatch command which just, well,
12357         dispatchs! Note it still sets its result to minibuffer; I'm not
12358         sure we want that.
12359
12360         * lyxfunc.h: remove setHintMessage
12361
12362         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12363
12364 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12365
12366         * BufferView_pimpl.C (specialChar): delete new inset if we have
12367         not been able to insert it.
12368
12369         * kbmap.C: revert to using int instead of kb_action, since all we
12370         are dealing with is pseudo-actions.
12371
12372         * LyXAction.C (searchActionArg): change to return int instead of
12373         kb_action, since the result is a pseudoaction.
12374
12375 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12376
12377         * buffer.C (insertErtContents): Fix (partially) the font bug.
12378
12379 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12380
12381         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12382         as the other one is broken on my machine!
12383
12384 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12385
12386         * commandtags.h:
12387         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12388
12389 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12390
12391         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12392         reflect their actual use. Provide compatibility code for older lyxrc
12393         files.
12394
12395         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12396         FL_NORMAL_STYLE.
12397         change names of popup font variables in line with the changes to lyxrc.C
12398
12399 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12400
12401         * buffer.C (asciiParagraph): avoid outputing a word twice after
12402         an inset.
12403
12404         * lyxrc.C (getDescription): document that document_path and
12405         template_path can be empty.
12406
12407 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12408
12409         * LaTeXFeatures.C (getMacros):
12410         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12411
12412         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12413
12414         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12415         getPackages.
12416         (getPackages): rename feature "floats" to "float". Use an array to
12417         iterate over 'simple' features (i.e. just a \usepackage). Add
12418         handling of "amsmath" (renamed from "amsstyle").
12419
12420 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12421
12422         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12423         features list.
12424
12425 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12426
12427         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12428         FuncStaus::FuncStatus & FuncStaus::some_method().
12429
12430 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12431
12432         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12433         of the func_satus stuff. Edited and massaged in various ways by
12434         JMarc.
12435
12436         * lyxfunc.C (getStatus): use FuncStatus
12437
12438 2002-01-08  Juergen Vigna  <jug@sad.it>
12439
12440         * text.C (nextBreakPoint): use function Inset::isChar().
12441
12442         * paragraph.C (TeXOnePar): use function
12443         Inset::forceDefaultParagraphs.
12444
12445         * buffer.C (latexParagraphs): use function
12446         Inset::forceDefaultParagraphs.
12447
12448 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12449
12450         * lyx_gui.C (init): set the style of the menu popups to
12451         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12452
12453 2002-01-07  Juergen Vigna  <jug@sad.it>
12454
12455         * text.C (setHeightOfRow): small fix
12456         (prepareToPrint): don't look at alignment if we don't have the place
12457         for doing it.
12458
12459 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12460
12461         * box.C: New file. Move the Box methods and functions out of box.h,
12462         following Lars' suggestion.
12463
12464 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12465
12466         * box.h: #include "support/LOstream.h", needed for inlined function.
12467
12468         * lyxtextclass.C:
12469         * lyxtextclasslist.C: added some using std declarations.
12470
12471 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12472
12473         * box.h: make signed dimensions to allow insets wider than
12474           the screen (bug #162)
12475
12476         * BufferView_pimpl.C: add some insetHit debug
12477
12478 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12479
12480         * vc-backend.C: add FIXME
12481
12482 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12483
12484         * lyxfunc.C (getStatus): enable code for showing math font status
12485         in toolbar/menu.
12486
12487 2002-01-07  Juergen Vigna  <jug@sad.it>
12488
12489         * text.C (nextBreakPoint): removed debug output not needed anymore.
12490
12491 2002-01-06  Juergen Vigna  <jug@sad.it>
12492
12493         * text.C (nextBreakPoint): fixed up this function we had this bug
12494         since ever but now hopefully we break row better.
12495         (insertChar): we have to check if an inset is the next char as it
12496         could now happen that a large inset is causing a break.
12497
12498 2002-01-05  Juergen Vigna  <jug@sad.it>
12499
12500         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12501         if it doesn't like to be drawed.
12502
12503 2002-01-04  Juergen Vigna  <jug@sad.it>
12504
12505         * BufferView2.C (lockInset): forgot to set a cursor.
12506
12507         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12508
12509 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12510
12511         * FormMathsPanel.C:
12512         * FormMathsPanel.h
12513         * MathsSymbols.C:
12514         * form_maths_panel.C:
12515         * form_maths_panel.h:
12516         * form_maths_panel.fd: implemented sub- and super- buttons in math
12517         panel.
12518
12519         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12520         (or ^ space) to be used as in TeX (req'd by André).
12521
12522         * lyxfunc.C: Allow ^ and _ again to be used both as
12523         super/subscript (mathed) and as themselves (in text).
12524
12525 2002-01-03  Allan Rae  <rae@lyx.org>
12526
12527         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12528         "LyX" or the filename of the current buffer if it has one.  This is a
12529         modified form of John Levon's patch.
12530
12531         * XFormsView.C (setWindowTitle): also set icon title.
12532
12533         * LyXView.h (setWindowTitle): signature changed.
12534         * XFormsView.h (setWindowTitle): ditto.
12535
12536 2002-01-02  Juergen Vigna  <jug@sad.it>
12537
12538         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12539
12540 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12541
12542         * screen.C (topCursorVisible): introduce a temp var for
12543         text->cursor.row(), handle the case where this row is null. (kindo
12544         hachish)
12545
12546         * text2.C (setCursor): add a couple of asserts.
12547
12548         * paragraph.h (inset_iterator): add -> operator
12549
12550         * paragraph.[Ch] (autoDeleteInsets): remove member function
12551
12552         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12553         cursor pos correctly and handle inset deletion by itself.
12554         (insertErrors): move iterator declaration out of for expression
12555
12556         * lyxtextclass.C: add <algorithm>
12557
12558         * Makefile.am: added the new files to sources, removed layout.C
12559
12560         * layout.C: removed file
12561
12562         * layout.h: remove LYX_DUMMY_LAYOUT
12563
12564         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12565         layout.
12566
12567         * lyxlayout.[Ch]:
12568         * lyxtextclass.[Ch]:
12569         * lyxtextclasslist.[Ch]: new files
12570
12571         * include order changes to a lot of files, also changes because of
12572         the six new files.
12573
12574 2001-12-27  Juergen Vigna  <jug@sad.it>
12575
12576         * buffer.C (asciiParagraph): more fixes.
12577
12578         * tabular.C (ascii): make ascii export support export of only the
12579         data separated by a column-delimiter.
12580         (ascii): better support for ascii export.
12581
12582         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12583
12584 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12585
12586         * tabular_funcs.C: use a "using std::getline" instead of the
12587         previous fix from Angus (necessary for cxx + lyxstring)
12588
12589 2001-12-24  Juergen Vigna  <jug@sad.it>
12590
12591         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12592
12593         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12594         problems. First check a minipage also if we have some ert-contents
12595         (not only on par->size(), second set the right depth of the paragraph
12596         on the relink to the root-paragraph-list!
12597
12598         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12599         which then did not anymore update the main paragraphs on undo/redo!
12600
12601 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12602
12603         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12604         code. Support all font-changing funcs (even those which are not in
12605         menu currently). Support for reporting font settings in
12606         mathed (disabled until Andre provides a function on mathed's side).
12607
12608         * func_status.h (toggle): small helper function to set toggle
12609         state on a flag.
12610
12611 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12612
12613         * tabular_funcs.C: getline -> std::getline
12614
12615 2001-12-21  Juergen Vigna  <jug@sad.it>
12616
12617         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12618         accessed and could be 0 (I couldn't generate this but it seems
12619         Michael could!).
12620
12621 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12622
12623         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12624         * tabular_funcs.h: here and include iosfwd
12625
12626 2001-12-20  Juergen Vigna  <jug@sad.it>
12627
12628         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12629         inside inset but undo_par was.
12630
12631 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12632
12633         * Thesaurus.C: always include <config.h> in sources.
12634
12635         * Painter.h:
12636         * lyxlookup.h:
12637         * box.h: do not include <config.h> in header files
12638
12639         * text.C (paintLastRow): remove unused variable
12640
12641         * text.C (transformChar):
12642         (insertChar):
12643         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12644
12645         * Painter.C (text):
12646         * font.C (width): rewrite to use uppercase() instead of
12647         islower/toupper.
12648
12649         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12650
12651 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12652
12653         * lyxfind.C: clean up of find failure position change
12654
12655 2001-12-20  Juergen Vigna  <jug@sad.it>
12656
12657         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12658
12659         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12660         (TeXRow): added to LaTeX a single tabular row.
12661         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12662         (Latex): simplified and finally good LT-h/f support.
12663         (various_functions): just small adaptions for LT-h/f support.
12664
12665         * tabular_funcs.[hC]: added and moved here all not classfunctions
12666         of LyXTabular.
12667
12668 2001-12-19  Juergen Vigna  <jug@sad.it>
12669
12670         * tabular.[Ch]: better support for longtabular options (not finished
12671         yet!)
12672
12673 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12674
12675         * text.C (paintLastRow): use the label font instead of the font of
12676         the last character to compute the size of *_BOX. This makes more
12677         sense and avoids a crash with empty paragraphs.
12678         Use Painter::rectangle to draw EMPTY_BOX.
12679
12680 2001-12-19  Juergen Vigna  <jug@sad.it>
12681
12682         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12683         the paragraphs if the replaced paragraph is not the first one!
12684         Tried to delete not used paragraphs but does not work yet so for
12685         now it's inside #ifdef's and by default off!
12686
12687 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12688
12689         * MenuBackend.C: include "lyx_main.h" instead of declaring
12690         lastfiles (actually was declared as LastFiles* instead of a
12691         scoped_ptr).
12692
12693 2001-12-17  Juergen Vigna  <jug@sad.it>
12694
12695         * tabular.C (AppendColumn): applied John's fix
12696
12697 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12698
12699         * BufferView.h:
12700         * BufferView.C:
12701         * BufferView_pimpl.h:
12702         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12703
12704         * Makefile.am:
12705         * box.h: new start of class for above
12706
12707         * lyxfunc.C: ignore space-only minibuffer dispatches.
12708           Show the command name when it doesn't exist
12709
12710         * minibuffer.C: don't add empty lines to the history
12711
12712         * minibuffer.C: add a space on dropdown completion
12713
12714 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12715
12716         * text.C: fix line above/below drawing in insets
12717
12718 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12719
12720         * lyxlength.C (LyXLength): Initialize private variables.
12721
12722 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12723
12724         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12725         when inserting error insets.
12726
12727 2001-12-13  Juergen Vigna  <jug@sad.it>
12728
12729         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12730         actually sometimes the before-paragraph.
12731         (setUndo): don't clear the redostack if we're not actually undoing!
12732
12733 2001-12-06  Juergen Vigna  <jug@sad.it>
12734
12735         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12736         and fixed redoing of main paragraph, so we can use it now ;)
12737
12738         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12739
12740 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12741
12742         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12743         Juergen's request
12744
12745 2001-12-13  André Pönitz <poenitz@gmx.net>
12746
12747         * undostack.[Ch]:
12748         * undo_func.C: minor cleanup
12749
12750 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12751
12752         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12753         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12754         font in urw-fonts package which is marked as -urw-fontspecific and
12755         does not work (incidentally, changing the encoding in the
12756         fonts.dir of this package to -adobe-fontspecific fixes the
12757         problem).
12758
12759         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12760         is a crash when undoing first paragraph (Juergen, please take a
12761         look). THis does not mean the undo fix is wrong, just that it
12762         uncovers problems.
12763
12764         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12765         the (Paragraph*) version when needed instead of duplicating the
12766         code.
12767
12768         * text.C (workWidth): use Inset::parOwner to find out where the
12769         inset has been inserted. This is a huge performance gain for large
12770         documents with lots of insets. If Inset::parOwner is not set, fall
12771         back on the brute force method
12772
12773         * paragraph_pimpl.C (insertInset):
12774         * paragraph.C (Paragraph):
12775         (cutIntoMinibuffer): set parOwner of insets when
12776         inserting/removing them
12777
12778         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12779
12780 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12781
12782         * commandtags.h:
12783         * LyXAction.C:
12784         * lyx_main.C:
12785         * lyxfunc.C:
12786         * mathed/formulabase.C:
12787         * mathed/math_cursor.[Ch]:
12788         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12789
12790
12791 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12792
12793         * lyxlength.[Ch] (operator!=): new function
12794
12795 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12796
12797         * text.C (workWidth): use Inset::parOwner to find out where the
12798         inset has been inserted. This is a huge performance gain for large
12799         documents with lots of insets. If Inset::parOwner is not set, fall
12800         back on the brute force method
12801
12802         * paragraph_pimpl.C (insertInset):
12803         * paragraph.C (Paragraph):
12804         (cutIntoMinibuffer): set parOwner of insets when
12805         inserting/removing them
12806
12807         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12808
12809 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12810
12811         * tabular-old.C (getTokenValue):
12812         * tabular.C (getTokenValue):
12813         (write_attribute): new versions for LyXLength
12814         (everywhere): adjust the use of widths
12815
12816         * tabular.h: change the type of widths from string to LyXLength
12817
12818 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12819
12820         * paragraph.C: fixed missing line number count when exporting
12821         Environments to LaTeX file
12822
12823         * buffer.C: added informational message for checking line numbers.
12824
12825 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12826
12827         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12828         paragraph, do the 'double space' part, but not the 'empty
12829         paragraph' one.
12830
12831         * text.C (workWidth): small optimization
12832         (getLengthMarkerHeight): use minimal size for negative lengths.
12833
12834 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12835
12836         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12837
12838         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12839
12840 2001-12-11  André Pönitz <poenitz@gmx.net>
12841
12842         * FontLoader.C:
12843         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12844
12845 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12846
12847         * text2.C: keep selection on a setFont()
12848
12849 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12850
12851         * lyx_cb.C: another bv->text misuse, from insert label
12852
12853 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12854
12855         * kbsequence.h:
12856         * kbsequence.C: re-instate nmodifier mask
12857
12858 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12859
12860         * lyx_main.h: make lyxGUI private.
12861
12862 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12863
12864         * lyxfind.C: place the cursor correctly on failed search
12865
12866 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12867
12868         * text.C (getLengthMarkerHeight): for small heights, the arrows
12869         are not always on top/bottom of the text
12870         (drawLengthMarker): smaller arrows; take the left margin in
12871         account; draw also vfills.
12872         (paintFirstRow):
12873         (paintLastRow): remove special code for vfill and standard spaces,
12874         since everything is handled in drawLengthMarker now.
12875
12876 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12877
12878         * buffer.C (insertErtContents): try to handle font and language
12879         interaction a bit better.g
12880
12881         * ColorHandler.C (updateColor): change the hash to cover the whole
12882         LColor enum, ws cleanup
12883         (getGCLinepars): ditto
12884         (getGCLinepars): only lookup in the linecache once.
12885
12886 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12887
12888         * iterators.C (operator++): Make the iterator more robust
12889
12890         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12891         (John's patch)
12892         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12893
12894 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12895
12896         * lyxtext.h:
12897         * text.C: better added space drawing
12898
12899 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12900
12901         * LyXView.C:
12902         * BufferView2.C: fix layout combo update on inset unlock
12903
12904 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12905
12906         * Makefile.am: don't compile unused files
12907
12908 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12909
12910         * lyxfunc.C:
12911         * commandtags.h:
12912         * LyXAction.C: remove old LFUN_LAYOUTNO
12913
12914 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12915
12916         * paragraph_pimpl.h:
12917         * paragraph_pimpl.C: isTextAt() doesn't need font param
12918
12919 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12920
12921         * lyxlex.h:
12922         * lyxlex.C: little cleanup
12923
12924 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12925
12926         * BufferView_pimpl.C: fix insertAscii for insets
12927
12928 2001-12-05  Juergen Vigna  <jug@sad.it>
12929
12930         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12931         set the right font on the "multi" paragraph paste!
12932
12933 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12934
12935         * trans_decl.h:
12936         * trans_mgr.[Ch]:
12937         * trans.[Ch]:
12938         * lyxgluelength.C:
12939         * lyxlength.C: remove out-commented code.
12940
12941         * BufferView_pimpl:
12942         * CutAndPaste.C:
12943         * DepTable.C:
12944         * buffer.C:
12945         * chset.C:
12946         * lastfiles.C:
12947         * lyxlex.C:
12948         * lyxlex_pimpl.C:
12949         * lyxserver.C:
12950         * screen.C:
12951         * tabular-old.C:
12952         * tabular.C:
12953         * text.C:
12954         * trans_mgr.C:
12955         * vc-backend.C: change "while(" to "while ("
12956
12957         * lyxlength.[Ch]: add zero function to check if length is zero or
12958         not
12959         * lyxgluelength.C: use it
12960
12961 2001-12-05  Allan Rae  <rae@lyx.org>
12962
12963         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12964         Works for 2.95.3, from what I understand of Garst's reports this should
12965         work for other g++ versions.  We're screwed if the abs(int) definition
12966         changed between bugfix releases of gcc.
12967
12968 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12969
12970         * text.C: fix chapter label offset !
12971
12972 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12973
12974         * lyxtext.h:
12975         * text.C: fix hfill at end of line, clean up
12976
12977 2001-12-04  Juergen Vigna  <jug@sad.it>
12978
12979         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12980         that we force an update of the inset and it's owners if neccessary.
12981
12982 2001-12-03  Juergen Vigna  <jug@sad.it>
12983
12984         * text.C (rowLast): simplified code
12985
12986 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12987
12988         * lyxfunc.C: fix show options on timeout
12989
12990 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12991
12992         * screen.C (topCursorVisible): scroll half a page when the cursor
12993         reached top of bottom of screen
12994
12995 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12996
12997         * minibuffer.C: deactivate on loss of focus
12998
12999 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13000
13001         * vspace.[Ch] (operator!=): add operator.
13002
13003 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13004
13005         * BufferView_pimpl.C: refuse to open an inset when
13006         there's a selection.
13007
13008 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13009
13010         * BufferView_pimpl.C: allow to click on RHS of full row insets
13011
13012 2001-11-30  Juergen Vigna  <jug@sad.it>
13013
13014         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13015         insets for undo reasons.
13016
13017 2001-11-28  André Pönitz <poenitz@gmx.net>
13018
13019         * vspace.[Ch]: cosmetical changes
13020
13021 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13022
13023         * LyXAction.h:
13024         * LyXAction.C:
13025         * lyxfunc.h:
13026         * lyxfunc.C:
13027         * kbmap.h:
13028         * kbmap.C:
13029         * lyxrc.C:
13030         * kbsequence.h:
13031         * kbsequence.C: part re-write of old kb code
13032
13033         * Painter.C:
13034         * WorkArea.C: remove Lgb_bug_find_hack
13035
13036 2001-11-30  José Matos <jamatos@fep.up.pt>
13037
13038         * buffer.C (makeDocBookFile): add a comment to point a hack.
13039         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13040         Fixed a double write of labels.
13041
13042 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13043
13044         * LaTeX.C:
13045         * LaTeX.h Fixed bug in LaTeX class where it would not
13046         re-run latex if no depfiles were changed, but the .dvi was removed.
13047
13048 2001-11-28  André Pönitz <poenitz@gmx.net>
13049
13050         * all the files from the change on 2001/11/26:
13051         use lyx::layout_type instead of LyXTextClass::size_type
13052         use lyx::textclass_type instead of LyXTextClassList::size_type
13053
13054 2001-11-29  Juergen Vigna  <jug@sad.it>
13055
13056         * text.C: added support for paragraph::isFreeSpacing()
13057
13058         * buffer.C: same as above
13059
13060         * paragraph.h: inserted isFreeSpacing() function to enable
13061         FreeSpacing inside InsetERT.
13062
13063         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13064         of the paragraph's in the cut/copy buffer to 0!
13065
13066         * text2.C (removeRow): remove the assert as it can!
13067
13068         * lyxtext.h: added helper function firstRow returning firstrow and
13069         made firstrow private again.
13070
13071         * BufferView2.C (lockInset): don't relock if we're already locked!
13072
13073         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13074         the only paragraph.
13075         (removeRow): added Assert::(firstrow)
13076
13077         * debug.C: forgot to add INSETTEXT here.
13078
13079 2001-11-28  Juergen Vigna  <jug@sad.it>
13080
13081         * sp_spell.C (initialize): changed error text to more general
13082         spellchecker command use (not only ispell!)
13083
13084         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13085
13086         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13087
13088 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13089
13090         * vspace.C: initialise lyxgluelength on failure
13091
13092 2001-11-28  Allan Rae  <rae@lyx.org>
13093
13094         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13095         declaration & definition that looks like a function declaration.
13096
13097 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13098
13099         * BufferView2.C (copy):
13100         (copyEnvironment): do not clear the selection when doing a copy.
13101
13102         * text.C (paintFirstRow): compilation fix
13103
13104 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13105
13106         * tabular.C (Latex): correct line count when writing latex.
13107
13108 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13109
13110         * paragraph_pimpl.h:
13111         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13112           bug a bit
13113
13114 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13115
13116         * text.C:
13117         * LColor.h:
13118         * LColor.C: change vfillline->added_space
13119
13120         * text.C: add markers and text for added space
13121
13122         * vspace.C: fix comment
13123
13124 2001-11-28  André Pönitz <poenitz@gmx.net>
13125
13126         * paragraph.C: whitespace changes
13127         * all the other files from the change on 2001/11/26:
13128         change *::pos_type into lyx::pos_type
13129
13130 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13131
13132         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13133         language of the document when inserting error insets.
13134
13135 2001-11-26  André Pönitz <poenitz@gmx.net>
13136
13137         * BufferView_pimpl.[Ch]:
13138         *       CutAndPaste.C:
13139         * buffer.[Ch]:
13140         * lyxcursor.[Ch]:
13141         * lyxfind.C:
13142         * lyxfunc.C:
13143         * lyxrow.[Ch]:
13144         * paragraph.[Ch]:
13145         * paragraph_pimpl.[Ch]:
13146         * sp_spell.C:
13147         * text.C:
13148         * text2.C: reduce header dependencies, introduce type for positions
13149
13150 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13151
13152         * <various>: change to use Alert.h
13153
13154 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13155
13156         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13157         when encountering an unknown token.
13158         (readLyXformat2): Show an error message if there were unknown tokens.
13159
13160 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13161
13162         * BufferView2.C:
13163         * BufferView_pimpl.C:
13164         * buffer.C:
13165         * paragraph.h:
13166         * text.C:
13167         * text2.C: use par->isInset()
13168
13169 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13170
13171         * paragraph_pimpl.h:
13172         * paragraph_pimpl.C: cleanup
13173
13174 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13175
13176         * text2.C (removeRow):
13177         * text.C (setHeightOfRow): remove useless (and costly) call to
13178         getRow.
13179
13180 2001-11-20  Allan Rae  <rae@lyx.org>
13181
13182         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13183         Now need Inset*::checkInsertChar() to return true for appropriate
13184         cases so that the characters in the minibuffer will actually be
13185         inserted.
13186
13187 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13188
13189         * text.C: change the order of the includes.
13190         (workWidth): initialize it at once.
13191         (workWidth): make maxw unsigned
13192         (setHeightOfRow): remove unused variable (inset)
13193         (selectSelectedWord): remove unused variable (inset)
13194         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13195
13196 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13197
13198         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13199         server is not running.
13200         (openConnection):
13201         (closeConnection): add debug info when server is disabled.
13202
13203         * ColorHandler.C (getGCForeground): send debug message to GUI
13204         channel.
13205
13206         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13207
13208         * kbmap.C (bind): modify because return conventions of
13209         kb_sequence::parse have changed.
13210
13211         * kbsequence.C (parse): only ignore spaces and not any stupid
13212         control character. This avoids tests like s[i] <= ' ', which are
13213         guaranteed to fail with 8bit characters and signed chars.
13214         Change return code to string::npos when there have been no error
13215         (0 was a bad idea when error is at first character)
13216
13217 2001-11-14  José Matos  <jamatos@fep.up.pt>
13218
13219         * buffer.h:
13220         * buffer.C (simpleDocBookOnePar): removed unused argument.
13221
13222 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13223
13224         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13225         insets which are part of a word. Paragraph::isLetter takes care of
13226         that now. Use Paragraph::isInset to identify insets.
13227         (selectSelectedWord): do not test for hyphenation break.
13228
13229         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13230         that protected spaces are considered as spaces.
13231
13232         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13233         Inset::isLetter.
13234
13235 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13236
13237         * lyxserver.h:
13238         * lyxserver.C: fix it. and small cleanup.
13239
13240 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13241
13242         * BufferView_pimpl.C: use inline helpers
13243
13244         * LaTeXFeatures.h:
13245         * LaTeXFeatures.C: fix typos
13246
13247         * Spacing.h:
13248         * Spacing.C: move spacing_string into class
13249
13250         * ToolbarDefaults.C: move stuff into namespace anon
13251
13252         * layout.h: update enum
13253
13254         * lyxfunc.C: use better debug
13255
13256         * minibuffer.h: fix typo
13257
13258         * debug.h:
13259         * debug.C:
13260         * WorkArea.C: add and use Debug::WORKAREA
13261
13262         * lyxtext.h:
13263         * text.C:
13264         * text2.C: code re-organisation, inline helpers
13265
13266 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13267
13268         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13269         std::vector.empty().
13270
13271 2001-11-09  Allan Rae  <rae@lyx.org>
13272
13273         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13274         '\n's after tables.  Tabular and ERT inset work now makes this no
13275         longer necessary.
13276
13277 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13278
13279         * minibuffer.h:
13280         * minibuffer.C: fix crash, improve drop-down completion
13281
13282 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13283
13284         * lyxserver.h:
13285         * lyxserver.C: invalidate fd's when doing endPipe()
13286
13287 2001-11-08  José Matos  <jamatos@fep.up.pt>
13288
13289         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13290         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13291
13292         * paragraph.h:
13293         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13294
13295 2001-11-07  José Matos  <jamatos@fep.up.pt>
13296
13297         * buffer.h:
13298         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13299         const qualifier.
13300
13301         * buffer.C (sgmlOpenTag):
13302         * buffer.C (sgmlCloseTag): removed debug info.
13303
13304         * buffer.h (sgmlOpenTag):
13305         * buffer.h (sgmlCloseTag): made public.
13306
13307 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13308
13309         * buffer.C (saveParamsAsDefaults):
13310         * lyx_cb.C (MenuLayoutSave): remove
13311
13312         * LyXAction.C (init):
13313         * commandtags.h:
13314         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13315
13316 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13317
13318         * buffer.C (setPaperStuff): removed from here...
13319
13320         * bufferparams.C (setPaperStuff): ... and moved there.
13321
13322 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13323
13324         * minibuffer.h:
13325         * minibuffer.C:
13326         * XFormsView.C: add support for drop-down completion
13327
13328 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13329
13330         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13331         commands.
13332
13333 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13334
13335         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13336         disabled.
13337
13338 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13339
13340         * lyx_main.C: change ref to known bugs
13341
13342 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13343
13344         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13345         to work around older babel problems.
13346
13347 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13348
13349         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13350
13351 2001-10-24  Juergen Vigna  <jug@sad.it>
13352
13353         * tabular-old.C (ReadOld): below variable changes reflected.
13354
13355         * tabular.[Ch]: added ltType struct for longtable header/footer
13356         defines and changed all instances where they are used. Added
13357         future support for double top/bottom rows.
13358
13359 2001-10-24  José Matos  <jamatos@fep.up.pt>
13360
13361         * buffer.h (docbookHandleCaption):
13362         * buffer.C (docbookHandleCaption): removed unused function.
13363         (makeDocBookFile): moved docbook supported version to v4.1.
13364
13365 2001-10-24  José Matos  <jamatos@fep.up.pt>
13366
13367         * tabular.h:
13368         * tabular.C (docbookRow): new function to export docbook code of a row.
13369         (DocBook): now honors the longtable flags.
13370
13371 2001-10-23  José Matos  <jamatos@fep.up.pt>
13372
13373         * LaTeXFeatures.h:
13374         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13375         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13376
13377         * buffer.C (makeLinuxDocFile):
13378         (makeDocBookFile): reworked the preamble, more clean, and with
13379         support for lyx defined entities. Changed the document declaration
13380         to be more XML friendly.
13381
13382         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13383         if we need to output XML that should be done with a filter.
13384
13385 2001-10-22  Juergen Vigna  <jug@sad.it>
13386
13387         * sp_pspell.h (class PSpell): add alive function needed in the
13388         controller to see if the spellchecker could be started.
13389
13390 2001-10-22  Juergen Vigna  <jug@sad.it>
13391
13392         * buffer.C (insertStringAsLines): modify the font for inserting
13393         chars in certain conditions by calling checkInsertChar(font).
13394
13395 2001-10-19  Juergen Vigna  <jug@sad.it>
13396
13397         * text.C (workWidth): use getRow instead of wrong algorithm.
13398         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13399
13400 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13401
13402         * lyxserver.h:
13403         * lyxserver.C:
13404         * lyx_main.h:
13405         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13406
13407 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13408
13409         * text.C (workWidth): do not search for the exact row when
13410         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13411         optimization for big documents.
13412
13413 2001-10-18  Juergen Vigna  <jug@sad.it>
13414
13415         * text.C (workWidth): new function with added Inset * parameter.
13416
13417 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13418
13419         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13420
13421         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13422         change return type of getColumnNearX.
13423
13424
13425         * text.C (changeRegionCase): use uppercase/lowercase instead of
13426         toupper/tolower.
13427         (leftMargin):
13428         (rightMargin): simplify code by factoring out the uses of
13429         textclasslist.
13430         (labelFill):
13431         (numberOfHfills):
13432         (setHeightOfRow):
13433         (appendParagraph): use Paragraph::size_type
13434
13435 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13436
13437         * vspace.C (asLatexString): add a missing break
13438
13439 2001-10-15  Herbert Voss  <voss@perce.de>
13440
13441         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13442
13443 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13444
13445         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13446         is not available.
13447
13448 2001-10-10  André Pönitz <poenitz@gmx.net>
13449
13450         * lyxfunc.C: removed greek_kb_flag.
13451
13452 2001-10-10  Herbert Voss  <voss@perce.de>
13453
13454         * lyx_main.C: delete global string help_lyxdir.
13455
13456 2001-10-09  Herbert Voss  <voss@perce.de>
13457
13458         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13459
13460         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13461
13462         * lyx_main.C: added global string help_lyxdir.
13463
13464         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13465
13466 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13467
13468         * lyxrc.C (set_font_norm_type): support iso8859-4
13469
13470 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13471
13472         * LaTeX.C (deplog): add another regex for MikTeX
13473
13474 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13475
13476         * lyxrc.C (set_font_norm_type): support iso8859-3
13477
13478 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13479
13480         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13481
13482         * LaTeXFeatures.C: remove special case of french and index
13483
13484         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13485         before \begin{document}). This solves several incompatibilities.
13486
13487 2001-10-03  Garst Reese  <reese@isn.net>
13488
13489         * lyx_cb.C: change CheckTex error msg.
13490
13491 2001-10-03  José Matos  <jamatos@fep.up.pt>
13492
13493         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13494
13495 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13496
13497         * .cvsignore: update
13498
13499         * lyx_main.C (commandLineVersionInfo): use new style version info.
13500
13501         * buffer.C (writeFile):
13502         (makeLaTeXFile):
13503         (makeLinuxDocFile):
13504         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13505
13506         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13507
13508         * version.h: update to use stuff in version.C
13509
13510         * version.C.in: new file. Contains version information determined
13511         at compile time. This is a merging of version.h and
13512         version_info.h.in.
13513
13514 2001-10-03  Juergen Vigna  <jug@sad.it>
13515
13516         * BufferView_pimpl.C (update): don't change "dirty" status in
13517         updateInset call.
13518
13519 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13520
13521         * WorkArea.C (c-tor): re-position version string slightly.
13522
13523 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13524
13525         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13526         revert to previous code.
13527
13528         WorkArea.[Ch]: (show, destroySplash): methods removed.
13529
13530         WorkArea.C: rework code so that it's an amalgam of the codes before and
13531         after the splash screen was moved to WorkArea.
13532
13533 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13534
13535         * lyxrc.C (read):
13536         * vspace.C (inPixels):
13537         (lyx_advance):
13538         * kbmap.C (bind):
13539         * buffer.C (insertStringAsLines):
13540         (asciiParagraph): fix types to be large enough
13541
13542         * lyxlex_pimpl.h: change member status from short to int
13543
13544         * layout.h: fix type of endlabeltype
13545
13546         * kbmap.C (bind):
13547         * kbsequence.C (parse): change return type to string::size_type
13548
13549         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13550         variable
13551
13552         * Bullet.C (bulletSize):
13553         (bulletEntry): do not use short ints as parameters
13554
13555         * BufferView2.C (insertLyXFile): change a char to an int.
13556
13557         * WorkArea.C (WorkArea): remove unneeded floats in computation
13558
13559 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13560
13561         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13562
13563         * paragraph.C (asString): Do not ignore newline/hfill chars when
13564         copying to the clipboard.
13565
13566 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13567
13568         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13569         after a multi-line inset.
13570
13571 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13572
13573         * paragraph.C (validate): Set NeedLyXFootnoteCode
13574
13575 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13576
13577         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13578         and decrease-error to decrease.
13579
13580 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13581
13582         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13583         it more readable (should be equivalent)
13584
13585 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13586
13587         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13588
13589 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13590
13591         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13592         of a cursor (row, etc.) after a character has been deleted
13593         (deleteEmptyParagraphMechanism): call the method above on _all_
13594         cursors held by the LyXText when a double space has been
13595         detected/deleted.
13596
13597 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13598
13599         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13600         pixmap.
13601         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13602
13603         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13604         background. Use greyOut() and the new show() methods to toggle between
13605         the foreground and background. Add code to remove the splash after
13606         its initial showing.
13607
13608         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13609         (create_forms): no longer call Dialogs::showSplash.
13610
13611 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13612
13613         * .cvsignore: add version_info.h
13614
13615 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13616
13617         * version_info.h.in: new file
13618
13619         * Makefile.am: add version_info.h.in
13620
13621         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13622         version_info.h instead of VERSION_INFO
13623
13624 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13625
13626         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13627         The ERT inset now returns string().
13628
13629 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13630
13631         * lyxtext.h, text.C (selectNextWord): renamed as
13632         selectNextWordToSpellcheck.
13633
13634         * text.C (selectNextWordToSpellcheck): Modified to not select
13635         words inside an ERT inset.
13636
13637 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13638
13639         * lyx_cb.C (MenuLayoutSave): change a bit the question
13640
13641         * sp_base.h: include <sys/types.h>
13642
13643 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13644
13645         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13646
13647 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13648
13649         * several files: fix typos in user-visible strings
13650
13651 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13652
13653         * text2.C (pasteSelection): do not set the selection, since it
13654         will be cleared later. Actually, the intent was to fix the way the
13655         selection was set, but I figured rmoving the code was just as good.
13656
13657 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13658
13659         * FontLoader.C (available): Check if font is available without
13660         loading the font.
13661
13662 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13663
13664         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13665
13666 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13667
13668         * lyxrc.[Ch]: added display_graphics variable and associated code.
13669
13670 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13671
13672         * bufferparams.C (hasClassDefaults): new method. Returns true if
13673         the buffer parameters correspond to known class defaults
13674
13675 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13676
13677         * XFormsView.C (show): set minimum size to the main window.
13678
13679 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13680
13681         * text2.C (copySelection):
13682         (cutSelection):
13683         * lyxfind.C (LyXReplace):
13684         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13685         LyXText::selectionAsString.
13686
13687         * paragraph.C (asString): add "label" argument to the second form
13688
13689         * text2.C (selectionAsString): add "label" argument and pass it to
13690         Paragraph::asString.
13691
13692 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13693
13694         * lyx_main.C (commandLineHelp): remove version information
13695
13696 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13697
13698         * lyx_main.C: add -version commandline option
13699
13700 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13701
13702         * paragraph.h: make the optional constructor arg required instead.
13703         some modifications to other files because of this.
13704
13705         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13706
13707         * lyxserver.C (C_LyXComm_callback): make it static
13708
13709         * lyx_main.C (error_handler): make it static
13710
13711         * lyx_gui.C (LyX_XErrHandler): make it static
13712
13713         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13714
13715         * WorkArea.C: make the extern "C" methods static.
13716
13717         * Makefile.am (lyx_LDADD): simplify
13718
13719 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13720
13721         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13722         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13723
13724         * LyXAction.C (init):
13725         * lyxfunc.C (dispatch): associated code removal.
13726
13727 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13728
13729         * lyxfont.h (isSymbolFont): shut off warning
13730
13731         * text.C (setHeightOfRow):
13732         (getVisibleRow): fix crash with empty paragraphs which have a
13733         bottom line
13734
13735 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13736
13737         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13738         code.
13739
13740 2001-09-04  José Matos  <jamatos@fep.up.pt>
13741         * buffer.C
13742         * buffer.h
13743         * tabular.C (docbook): rename docBook method to docbook.
13744
13745 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13746
13747         * Makefile.am: add dependencies to main.o.
13748
13749 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13750
13751         * FontLoader.C (available): Return false if !lyxrc.use_gui
13752
13753 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13754
13755         * FontInfo.C (query):
13756         * converter.C (view):
13757         * importer.C (Import):
13758         * exporter.C (Export): Can not -> cannot.
13759
13760 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13761
13762         * BufferView_pimpl.C: allow to create index inset even if
13763           string is empty
13764
13765 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13766
13767         * buffer.C (getLists): replace boost::tie code with an explicit pair
13768         as boost::tie can break some compilers.
13769
13770         * iterators.h: Added a std:: declaration to the return type of
13771         ParIterator::size.
13772
13773 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13774
13775         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13776           case.
13777
13778 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13779
13780         * iterators.[Ch]: New files. Provide paragraph iterators.
13781
13782         * buffer.C (changeLanguage): Use paragraph iterators.
13783         (isMultiLingual): ditto
13784
13785         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13786
13787 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13788
13789         * FontLoader.C: Support for cmr font.
13790
13791 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13792
13793         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13794         (available): New method.
13795
13796         * FontInfo.C (getFontname): Use scalable fonts even when
13797         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13798         found.
13799
13800 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13801
13802         * converter.C (Formats::view): reverted! Incorrect fix.
13803
13804 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13805
13806         * converter.C (Formats::view): only output the -paper option
13807         if the dvi viewer is xdvi, thereby fixing bug #233429.
13808
13809 2001-08-23  Herbert Voss  <voss@perce>
13810
13811         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13812
13813 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13814
13815         * Spacing.h (Spacing): Set space to Default on in the default
13816         constructor.
13817
13818 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13819
13820         * vc-backend.h (RCS::versionString): add RCS to version
13821         (CVS::versionString): add CVS to version
13822
13823         * vc-backend.C (scanMaster): do not add CVS to version.
13824         (scanMaster): do not add RCS to version
13825
13826         * lyxvc.C (versionString): new method
13827
13828         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13829
13830 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13831
13832         * Spacing.C (set): initialize fval
13833
13834 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13835
13836         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13837         " or \.
13838
13839 2001-08-16  Juergen Vigna  <jug@sad.it>
13840
13841         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13842
13843 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13844
13845         * BufferView_pimpl.C:
13846         * figureForm.C:
13847         * lyxtext.h:
13848         * text2.C: setParagraph takes linespacing now
13849
13850 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13851
13852         * LyxAction.C: add internal LFUN_CITATION_INSERT
13853
13854         * LyXView.C: actually apply fix
13855
13856         * bufferlist.C: fix open non-existent file
13857
13858         * lyxfind.C: fix indentation
13859
13860         * lyxfunc.C: remove unneeded assert, fix typo
13861
13862 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13863
13864         * MenuBackend.C: use "Floatname List"
13865
13866 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13867
13868         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13869         when converting LaTeX layout to insetERT.
13870         Generate a non-collapsed float when reading old float
13871
13872 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13873
13874         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13875         ERT insets.
13876
13877 2001-08-13  Juergen Vigna  <jug@sad.it>
13878
13879         * text.C (fill): return 0 instead of 20 as this seems to be the more
13880         correct value.
13881
13882 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13883
13884         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13885         lyxrc.font_norm.
13886
13887 2001-08-13  Juergen Vigna  <jug@sad.it>
13888
13889         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13890         casesensitive off.
13891         (SearchBackward): comment out the unlocking of the inset_owner this
13892         should not be needed!
13893
13894 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13895
13896         * Many files: Remove inherit_language, and add latex_language
13897
13898         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13899         collapsible insets.
13900
13901 2001-08-10  Juergen Vigna  <jug@sad.it>
13902
13903         * text.C (prepareToPrint): fixed hfill-width in draw!
13904
13905         * BufferView2.C (selectLastWord): save the selection cursor as this
13906         now is cleared in the function LyXText::clearSelection!
13907
13908 2001-08-08  Juergen Vigna  <jug@sad.it>
13909
13910         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13911         BACKSPACE type functions.
13912
13913         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13914         is only cutted from the document but not put in the cut-buffer, where
13915         still the old stuff should be.
13916
13917         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13918
13919         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13920
13921         * tabular.C (SetWidthOfCell): fixed special case where the width
13922         was not updated!
13923         (LeftLine): handle '|' in align_special.
13924         (RightLine): ditto
13925         (LeftAlreadyDrawed): ditto
13926         (SetWidthOfCell): ditto
13927
13928 2001-08-07  Juergen Vigna  <jug@sad.it>
13929
13930         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13931
13932 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13933
13934         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13935         * lyxlex.[hC]: ditto
13936
13937 2001-08-06  Juergen Vigna  <jug@sad.it>
13938
13939         * text.C (getVisibleRow): fix up row clearing a bit.
13940
13941 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13942
13943         * minibuffer.C: make sure the X server sees the changes in the input.
13944
13945 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13946
13947         * paragraph.C (getFont): split into...
13948         (getLabelFont): this
13949         (getLayoutFont): and this
13950         * paragraph_pimpl.C (realizeFont): calling this
13951
13952         * text2.C (getFont): split into...
13953         (getLayoutFont): this
13954         (getLabelFont): and this
13955         (realizeFont): all three calling this
13956
13957         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13958         files where used.
13959
13960 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13961
13962         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13963
13964 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13965
13966         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13967         layouts from the Quote inset insertion.
13968
13969 2001-08-03  Juergen Vigna  <jug@sad.it>
13970
13971         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13972
13973         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13974         only if status not is already CHANGED_IN_DRAW (second level).
13975
13976         * text.C (draw): don't set the need_break_row when inside an
13977         InsetText LyXText.
13978
13979 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13980
13981         * buffer.C (parseSingleLyXformat2Token): handle more latex
13982         conversion cases.
13983
13984         * bufferview_funcs.[hC]: change function names to
13985         begin with small char, adjust other files.
13986
13987 2001-08-02  André Pönitz <poenitz@gmx.net>
13988
13989         * lyxfunc.C:
13990         BufferView_pimpl.C: remove broken special code for math-greek
13991
13992 2001-08-02  Juergen Vigna  <jug@sad.it>
13993
13994         * BufferView_pimpl.C (update): redone this function so that we
13995         update the text again if there was a CHANGE_IN_DRAW.
13996
13997         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13998         (drawFromTo): added a new internal bool which is used by draw() and
13999         redraw() function.
14000         (general): some cursor drawing problems fixed.
14001
14002 2001-08-01  Juergen Vigna  <jug@sad.it>
14003
14004         * lyxfind.C (LyXFind): fixed
14005         (SearchForward): ditto
14006         (SearchBackward): ditto
14007
14008         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14009         spurius drawing of the cursor in the main area.
14010
14011         * text2.C (status): small fix which could lead to a segfault!
14012         (clearSelection): remove unneeded BufferView param.
14013
14014 2001-08-01  André Pönitz <poenitz@gmx.net>
14015
14016         * lyxfunc.C: small change due to changed mathed interface
14017
14018 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14019
14020         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14021
14022 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14023
14024         * lyxfunc.c: fail gracefully if file doesn't exist
14025
14026         * LyXSendto.C:
14027         * buffer.C:
14028         * lyxfunc.C:
14029         * BufferView_pimpl.C: IsDirWriteable() proto changed
14030
14031         * LyXView.C: fix updateWindowTitle() to store the last title
14032
14033 2001-07-31  Juergen Vigna  <jug@sad.it>
14034
14035         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14036         the font (wrong since using of Paragraph::highestFontInRange).
14037
14038         * paragraph.C (highestFontInRange): added a default_size parameter.
14039
14040         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14041         (setHeightOfRow): reformat
14042
14043 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14044
14045         * converter.[hC] + affected files: move to (inital-char)lowercase
14046         function names.
14047
14048         * ParagraphParameters.C (ParagraphParameters): remove commented code
14049
14050         * PainterBase.[Ch]: remove commented code
14051
14052         * LaTeXFeatures.h: add "bool floats" for float.sty
14053
14054         * LaTeXFeatures.C (LaTeXFeatures): init floats
14055         (require): handle float
14056         (getPackages): do it with floats
14057
14058 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14059
14060         * BufferView_pimpl.C (Dispatch): improve handling of
14061         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14062
14063         * commandtags.h: #include lyxfont.h here temporarily to avoid
14064         keybinding bug.
14065
14066         * bufferlist.h: include LString.h here.
14067
14068 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14069
14070         * text2.C (getStringToIndex): new method.
14071
14072 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14073
14074         * *: Reduced header file dependencies all over.
14075
14076 2001-07-30  Baruch Even  <baruch@lyx.org>
14077
14078         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14079
14080 2001-07-29  Baruch Even  <baruch@lyx.org>
14081
14082         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14083
14084 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14085
14086         * ParameterStruct.h (endif): add a default constructor to make
14087         sure that all variables is initialized.
14088
14089         * ParagraphParameters.C (ParagraphParameters): adjust
14090
14091 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14092
14093         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14094         index; also, check that there is something to index, and that it
14095         does not span over several paragraphs.
14096         (doubleClick): use WHOLE_WORD_STRICT for double click.
14097
14098         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14099
14100         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14101         scheme.
14102
14103 2001-07-26  Baruch Even  <baruch@lyx.org>
14104
14105         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14106         an InsetFig figure, backwards compatible reading of old figure code.
14107
14108 2001-07-27  Juergen Vigna  <jug@sad.it>
14109
14110         * text2.C: font.realize function adaption.
14111
14112         * text.C (draw): add a warnings lyxerr text if needed.
14113
14114         * layout.C: font.realize function adaption.
14115
14116         * language.C: add inherit_language and implement it's handlings
14117
14118         * bufferview_funcs.C (StyleReset): remove language parameter from
14119         font creation (should be language_inherit now).
14120
14121         * bufferparams.C (writeFile): handle ignore_language.
14122
14123         * paragraph.C (getFontSettings): the language has to be resolved
14124         otherwise we have problems in LyXFont!
14125
14126         * lyxfont.C (lyxWriteChanges): added document_language parameter
14127         (update): removed unneeded language parameter
14128
14129         * paragraph.C (validate): fixed wrong output of color-package when
14130         using interface colors for certain fonts in certain environments,
14131         which should not seen as that on the final output.
14132
14133 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14134
14135         * BufferView_pimpl.C:
14136         * Thesaurus.h:
14137         * Thesaurus.C:
14138         * Makefile.am:
14139         * commandtags.h:
14140         * LyXAction.C: add thesaurus support
14141
14142         * lyxfind.h:
14143         * lyxfind.C: add "once" parameter, for thesaurus, to not
14144           move to the next match
14145
14146 2001-07-26  Juergen Vigna  <jug@sad.it>
14147
14148         * lyxfont.C (realize): honor ignore_language too!
14149         (resolved): ditto.
14150
14151         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14152
14153         * text.C (draw): one place more for ignore_language to not draw
14154         itself!
14155
14156 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14157
14158         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14159
14160 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14161
14162         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14163         the minipage conversion problem.
14164
14165 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14166
14167         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14168         insert an inset.
14169
14170 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14171
14172         * BufferView.h: don't forward declare WorkArea
14173
14174         * BufferView.C: don't include WorkArea.h
14175
14176 2001-07-25  André Pönitz <poenitz@gmx.net>
14177
14178         * commandtags.h:
14179         * LyXAction.C:
14180         * lyxfunc.C:  new LFUN 'math-space'
14181
14182         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14183
14184 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14185
14186         * text2.C (toggleInset): call open/close
14187
14188 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14189
14190         * lyxfunc.C (dispatch): add debug for the disabled case
14191
14192         * font.C (buttonText): make similar to rectText
14193
14194         * buffer.C (readInset): comment out parsing of insetlist and
14195         insttheorem
14196
14197         * PainterBase.C (rectText): small correction
14198
14199         * BufferView_pimpl.C: comment out insettheorem and insetlist
14200         * LyXAction.C: ditto
14201         * commandtags.h: ditto
14202
14203 2001-07-24  Juergen Vigna  <jug@sad.it>
14204
14205         * text.C (draw): honor the ignore_language.
14206
14207         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14208
14209 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14210
14211         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14212         char inset.
14213
14214 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14215
14216         * lyxtext.h: remove unused (and unimplemented) methods
14217
14218 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14219
14220         * text.C (getVisibleRow): honor background color
14221
14222         * PainterBase.h:
14223         * Painter.h: remove default color argument for fillRectangle
14224
14225         * text.C (backgroundColor): new method
14226
14227 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14228
14229         * text.C (getVisibleRow): adjust
14230
14231         * font.[Ch] (rectText): new method, metrics
14232         (buttonText): new method, metrics
14233
14234         * PainterBase.[hC]: make rectText and buttonText always draw and take
14235         fewer paramteres.
14236
14237 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14238
14239         * ToolbarDefaults.C (read):
14240         * MenuBackend.C (read): allow escaping in all strings
14241
14242         * BufferView_pimpl.C (insertAndEditInset): new method.
14243         (Dispatch): use insertAndEditInset whenever appropriate.
14244
14245         * BufferView_pimpl.C (insertNote): removed
14246
14247         * BufferView_pimpl.C (smartQuote): new method, moved from
14248         BufferView; if an insetquote cannot be inserted, insert a '"'
14249         character instead.
14250
14251         * BufferView2.C: remove insertCorrectQuote();
14252
14253         * lyxfunc.C (getStatus): Add support for all remaingin
14254         inset-insert lfuns.
14255
14256         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14257
14258         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14259         command (necessary to pass " as parameter of self-insert.
14260
14261         * text.C (selectWordWhenUnderCursor):
14262         (selectWord): add word_location parameter
14263         (selectWordWhenUnderCursor): same + remove special code for word
14264         boundary.
14265         (selectNextWord): use kind() to guess type of insetspecialchar,
14266         not latex().
14267
14268         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14269         (insertErtContents): create ert insets as collapsed.
14270         (readInset): better compatibility code for Info inset.
14271
14272 2001-07-20  Juergen Vigna  <jug@sad.it>
14273
14274         * lyxfunc.C (dispatch): use always LyXFind now!
14275
14276         * text2.C (init): add a reinit flag so that the LyXText can be
14277         reinited instead of deleted and reallocated (used in InsetText).
14278
14279         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14280
14281         * text.C: ditto
14282
14283         * text2.C: ditto
14284
14285 2001-07-18  Juergen Vigna  <jug@sad.it>
14286
14287         * text.C (selectNextWord): handle insets inside inset by calling
14288         always the bv->text functions so that we can go up the_locking_inset!
14289
14290         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14291         in strange locations when inside an inset!
14292
14293         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14294         handling to include insets.
14295
14296         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14297
14298 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14299
14300         * LyXAction.C (init):
14301         * commandtags.h:
14302         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14303         LIGATURE_BREAK, since the name is so stupid.
14304
14305 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14306
14307         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14308         InsetInfos.
14309
14310         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14311
14312         * sp_form.[Ch]: remove.
14313
14314         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14315
14316         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14317         InsetInfo.
14318
14319         * src/buffer.C (readInset): ditto.
14320
14321 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14322
14323         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14324         menuSeparator(), endOfSentenceDot(), ldots() and
14325         hyphenationPoint(), which are therefore removed.
14326         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14327
14328         * LyXAction.C (init):
14329         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14330
14331         * paragraph.C (getWord): removed.
14332
14333         * BufferView_pimpl.C (Dispatch): use last word or selection for
14334         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14335
14336         * lyx_main.C (queryUserLyXDir): do not ask before creating
14337         user_dir, except if it has been named explicitely.
14338
14339 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14340
14341         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14342         a document of zero size.
14343
14344 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14345
14346         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14347         approriately in the c-tor and in require().
14348         (getPackages): output the appropriate LaTeX for natbib support.
14349
14350         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14351         variables "use_natbib" and "use_numerical_citations" when reading the
14352         LyX file.
14353         (readInset): read the various natbib cite commands.
14354         (validate): white-space change.
14355
14356         * bufferparams.[Ch]: new variables "bool use_natbib" and
14357         "bool use_numerical_citations".
14358         (writeFile): output them in the LyX file.
14359
14360 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14361
14362         * lyxfunc.C (getStatus): add support for all the inset insertion
14363         commands.
14364
14365         * text2.C (insertInset):
14366         * paragraph.C (insetAllowed):
14367         * BufferView_pimpl.C (insertInset): update to take in account the
14368         renaming of insertInsetAllowed
14369
14370         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14371
14372         * text2.C (getInset): new method. returns inset at cursor position.
14373
14374         * BufferView_pimpl.C (Dispatch): changes because of this.
14375
14376         * LyXAction.C (init): rename open-stuff to inset-toggle.
14377
14378         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14379
14380         * text2.C (toggleInset): renamed from openStuff; use
14381         Inset::open().
14382
14383 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14384
14385         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14386
14387         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14388
14389 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14390
14391         * buffer.C (readLyXformat2): Add filename to the error dialog
14392
14393 2001-07-18  Juergen Vigna  <jug@sad.it>
14394
14395         * tabular.C (GetCellNumber): put an assert here instead of the check!
14396
14397 2001-07-17  Juergen Vigna  <jug@sad.it>
14398
14399         * BufferView_pimpl.C (toggleSelection): adapted too.
14400
14401         * text.C (selectNextWord): adapted for use with insets.
14402         (selectSelectedWord): ditto
14403
14404 2001-07-17  Juergen Vigna  <jug@sad.it>
14405
14406         * sp_spell.C (PSpell): fix initialitation order.
14407
14408 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14409
14410         * paragraph.C: spacing
14411
14412 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14413
14414         * sp_spell.C: repair language selection for pspell
14415
14416 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14417
14418         * lyxfunc.h: change more methods to begin with lower char.
14419
14420 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14421
14422         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14423         for unknown layouts.
14424
14425 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14426
14427         * buffer.C (readLyXformat2): Generate an error dialog if there are
14428         unknown layouts.
14429
14430 2001-07-16  Juergen Vigna  <jug@sad.it>
14431
14432         * sp_spell.C: always compile ISpell part.
14433
14434         * lyxrc.C: added use_pspell entry and it's handling.
14435
14436 2001-07-13  Juergen Vigna  <jug@sad.it>
14437
14438         * sp_spell.C: removed double includes.
14439
14440 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14441
14442         Consistent use of Lsstream.h:
14443         * Lsstream.h: added using std::stringstream for consistencies sake.
14444
14445         * buffer.C: removed using std::stringstream
14446
14447         * lyxfont.C (stateText):
14448         * paragraph.C (asString):
14449         * text.C (selectNextWord, selectSelectedWord):
14450         * text2.C (setCounter):
14451         * vspace.C (asString, asLatexString):
14452         std::ostringstream -> ostringstream.
14453
14454 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14455
14456         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14457         * commandtags.h: add LFUN_HELP_ABOUTLYX
14458         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14459
14460 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14461
14462         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14463         cursorToggle()
14464         * lyx_gui_misc.C: remove spellchecker
14465         * lyxfunc.C: showSpellchecker
14466         * sp_base.h: added
14467         * sp_ispell.h: added
14468         * sp_pspell.h: added
14469         * sp_spell.C: added
14470         * sp_form.[Ch]: removed
14471         * spellchecker.[Ch]: removed
14472
14473 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14474
14475         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14476         is set.
14477         (simpleTeXSpecialChars): Simply print the input character without
14478         any special translation if pass_thru is set.
14479
14480         * layout.h: Added bool pass_thru to layout class for being able to
14481         implement pass through of a paragraph for Literate Programming.
14482
14483         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14484         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14485         * layout.C (Read): add "passthru" to list of layout tags and add
14486         code to set the pass_thru boolean when it is read.
14487
14488 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14489
14490         * trans_decl.h: remove allowed from KmodInfo
14491
14492         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14493         remove allowed code
14494         (Load): adjust
14495
14496         * paragraph_pimpl.C (erase): use boost::prior
14497
14498         * Painter.C (text): use data() instead of c_str() when length is
14499         also provided.
14500         * WorkArea.C (putClipboard): ditto
14501         * font.h (width): ditto
14502
14503         * BufferView2.C: use it-> instead of (*it). for iterators
14504         * texrow.C: ditto
14505         * paragraph_pimpl.C: ditto
14506         * paragraph.C: ditto
14507         * minibuffer.C: ditto
14508         * language.C: ditto
14509         * kbmap.C: ditto
14510         * encoding.C: ditto
14511         * counters.C: ditto
14512         * converter.C: ditto
14513         * chset.C: ditto
14514         * Variables.C: ditto
14515         * TextCache.C: ditto
14516         * MenuBackend.C: ditto
14517         * LyXAction.C: ditto
14518         * LColor.C: ditto
14519         * FloatList.C: ditto
14520         * DepTable.C: ditto
14521         * ColorHandler.C (LyXColorHandler): ditto
14522
14523 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14524
14525         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14526
14527         * text2.C (openStuff): reintroduce this method (which had been
14528         nuked in NEW_INSETS frenzy).
14529
14530         * lyxfunc.C (Dispatch): when an action has not been handled, use
14531         its name in the error message, not its number.
14532
14533         * paragraph.C (inInset): change method name to begin with lowercase.
14534
14535         * undo_funcs.C:
14536         * text2.C: updates because of this.
14537
14538 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14539
14540         * ToolbarDefaults.C (add): add spaces in error message
14541
14542 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14543
14544         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14545         (readLyXformat2): rename return_par to first_par, use lyxlex's
14546         pushToken and remove the manual push handling.
14547         (parseSingleLyXformat2Token): add another ert comp. variable:
14548         in_tabular, rename return_par to first_par. handle newlines better
14549
14550 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14551
14552         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14553
14554 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14555
14556         * text2.C (getParFromID): removed
14557
14558         * buffer.C (getParFromID): new method moved form lyxtext.
14559         * BufferView2.C (insertErrors): adjust
14560         (setCursorFromRow): adjust
14561         * BufferView_pimpl.C (restorePosition): adjust
14562         * lyxfunc.C (Dispatch): adjust
14563         * undo_funcs.C (textUndo): adjust
14564         (textRedo): adjust
14565         (textHandleUndo): adjust
14566         (textHandleUndo): adjust
14567
14568 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14569
14570         * buffer.C: up' the LYX_FORMAT
14571
14572         * lyxfont.h: turn NO_LATEX on as default
14573
14574         * buffer.C (insertErtContents): new methods of tex style compability.
14575         (parseSingleLyXformat2Token): use it several places.
14576         * tabular.C (OldFormatRead): and here
14577
14578 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14579
14580         * text2.C: remove some commented code.
14581         reindent file.
14582
14583         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14584         * trans.C: changes because of the above.
14585
14586 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14587
14588         * text2.C (setCounter): Fix counters bug with bibliography layout.
14589
14590 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14591
14592         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14593         own member functions
14594         (simpleTeXSpecialChars): ditto
14595
14596 2001-07-06  Juergen Vigna  <jug@sad.it>
14597
14598         * a lot of files: changed the access to LyXText::status and the
14599         call of undo-functions.
14600
14601         * undo.[Ch]: added a inset_id to the undo informations.
14602
14603         * undo_funcs.[Ch]: added and moved here all undo functions.
14604
14605         * lyxtext.h: give the status enum a weight, made status_ a private
14606         variable and made accessor functions for it, removed the whole bunch
14607         of undo-functions as they are now in their own file, make some
14608         functions publically available. Added function ownerParagraph with
14609         int parameter.
14610
14611         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14612         made InInset() a const function, added getParFromID() function.
14613
14614         * buffer.[Ch]: added const version for inset_iterator functions,
14615         added getInsetFromID() function.
14616
14617         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14618         changed undo functions for new version.
14619
14620 2001-07-05  Juergen Vigna  <jug@sad.it>
14621
14622         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14623         unknow mechanism does not call the proper constructor but only this
14624         one also if I request the other!?
14625
14626 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14627
14628         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14629
14630         * text2.C (LyXText): use initialization lists.
14631
14632         * lyxtext.h (Selection): initialize set_ and mark_
14633         (init): remove method
14634
14635 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14636
14637         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14638
14639 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14640
14641         * screen.[Ch]: change method names to begin with lowercase
14642
14643         * BufferView_pimpl.C (updateScrollbar): simplify further and
14644         hopefully make it a bit faster.
14645
14646 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14647
14648         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14649         calling directly xforms functions.
14650
14651         * Painter.C (Painter):
14652         * lyx_cb.C (MenuWrite):
14653         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14654         fl_display.
14655
14656         * lyx_gui.C: remove bogus guiruntime extern declaration.
14657
14658 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14659
14660         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14661         in NEW_INSETS
14662         (redoDrawingOfParagraph): ditto
14663         (redoParagraphs): ditto
14664         (cutSelection): don't create a object for CutAndPaste use the
14665         static method directly
14666         (pasteSelection): ditto
14667
14668         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14669         LyXview (+ rename)
14670
14671 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14672
14673         * modifications to some other files because of this.
14674
14675         * Makefile.am (lyx_SOURCES): add XFormsView
14676
14677         * XFormsView.[Ch]: new files
14678
14679         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14680         the main window. Move the gui dependent stuff to XFormsView
14681
14682 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14683
14684         * tabular.C (GetCellInset): update cur_cell also in the row/col
14685         version of this function.
14686
14687         * lyxfunc.C: no need to include figure_form.h here.
14688
14689         * FontLoader.h:
14690         * lyxfunc.h:
14691         * lyxscreen.h:
14692         * text2.C:
14693         * lyxvc.C: no need to include forms.h here.
14694
14695 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14696
14697         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14698
14699         * lyxfunc.C (Dispatch):
14700         * Spacing.C (set):
14701         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14702         constructor argument.
14703
14704 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14705
14706         * paragraph.C (Paragraph): dont't clear, and just set layout.
14707         (makeSameLayout): use params's copy contructor.
14708
14709         * ParagraphParameters.[Ch] (makeSame): delete method
14710
14711 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14712
14713         * Variables.[Ch]: fix indentation, rename set to isSet
14714
14715 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14716
14717         * lyxfunc.C (Dispatch): fix typo
14718
14719 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14720
14721         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14722         upper_bound.
14723
14724         * bufferlist.C: include assert.h for emergencyWrite().
14725
14726 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14727
14728         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14729           give up at last (bug #425202) !
14730
14731 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14732
14733         * lyx_gui_misc.C:
14734         * sp_form.h:
14735         * sp_form.C:
14736         * spellchecker.h:
14737         * spellchecker.C: strip spellchecker options and bring up
14738           preferences tab instead
14739
14740 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14741
14742         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14743         the istringstream constructor
14744
14745 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14746
14747         * paragraph.C (getLayout): fix return value
14748
14749         * paragraph.h: do not declare getLayout as inline.
14750
14751         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14752
14753 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14754
14755         * lyxcursor.h (operator<): new func
14756         (operator>): new func
14757         (operator>=): new func
14758         (operator<=): new func
14759
14760         * text.C (changeCase): use selection.start and selection.end
14761         (changeRegionCase): require from to be <= to. Require par to be a
14762         valid paragraph.
14763
14764         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14765
14766 2001-06-27  Juergen Vigna  <jug@sad.it>
14767
14768         * text.C (cursorLeftOneWord): changed to return the cursor and added
14769         overlay with BufferView * parameter which calls this one.
14770         (getWord): added
14771         (selectWord): use new getWord function.
14772         (changeCase): renamed from changeWordCase as and extended to work
14773         also on selections.
14774
14775         * lyxtext.h: added enum word_location
14776
14777         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14778         changeCase as this operates now also on selections.
14779
14780 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14781
14782         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14783
14784         * many files: send debug output to Debug::INFO instead of
14785         Debug::ANY.
14786
14787         * converter.C (View):
14788         (Convert):
14789         (Move): send debug output to Debug::FILES instead of console.
14790
14791 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14792
14793         * lyxfunc.C (getStatus): use func_status
14794
14795         * func_status.h: new header, describing the results of
14796         LyXFunc::getStatus;
14797
14798         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14799         LFUN_MATH_HALIGN.
14800
14801 2001-06-25  The LyX Project  <jug@sad.it>
14802
14803         * buffer.C (sgmlOpenTag):
14804         (sgmlCloseTag):
14805         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14806
14807 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14808
14809         * text2.C: remove some dead code
14810
14811         * tabular.C (GetCellInset): store the last cell checked (gotten)
14812
14813         * tabular.h: add the helper for the speedup
14814
14815         * lyxtext.h: remove some dead code
14816
14817 2001-06-26  The LyX Project  <Asger>
14818
14819         * paragraph.C: Change export to LaTeX of alignment to
14820         \begin{center} and family for better roundtrip work with reLyX.
14821
14822         * Tune the math drawing a bit.
14823
14824 2001-06-25  The LyX Project  <Asger>
14825
14826         * LColor.C (LColor): New color for math background. New color
14827         for buttons.
14828
14829 2001-06-25  The LyX Project  <jug@sad.it>
14830
14831         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14832
14833         * lyxfunc.C (Open):
14834         * bufferlist.C (newFile): do not restrict to files ending with
14835         .lyx
14836
14837         * BufferView_pimpl.C (MenuInsertLyXFile):
14838
14839 2001-06-24  The LyX Project  <jug@sad.it>
14840
14841         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14842         of compare_no_case
14843
14844 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14845
14846         * lyxtext.h: rename most methods to begin with a small char.
14847         Lots of changes because of this.
14848
14849         * paragraph.C (Paragraph): do not call fitToSize
14850         (erase): call Pimpl::erase
14851         (insertChar): call Pimpl::insertChar
14852         (insertInset): call Pipl::insertInset
14853         (breakParagraph): do not call fitToSize
14854         (breakParagraphConservative): do not call fitToSize
14855         (fitToSize): remove method
14856
14857         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14858
14859 2001-06-24  The LyX Project  <Asger>
14860
14861         * Fix Qt compilation^2
14862
14863 2001-06-24  The LyX Project  <jug@sad.it>
14864
14865         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14866         depthHook(getDepth()-1).
14867
14868         * paragraph.h:
14869         * ParagraphParameters.h:
14870         * ParameterStruct.h: change type of depth to unsigned int ==
14871         depth_type. Many adaptations to other files before of that.
14872
14873 2001-06-24  The LyX Project  <Asger>
14874
14875         * Fix Qt compilation.
14876
14877 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14878
14879         * paragraph.h: renamed several methods to begin with small letter.
14880         several changes to many parts of the code because of this.
14881
14882 2001-06-23  The LyX Project  <jug@sad.it>
14883
14884         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14885         rewritten to discard all double spaces when KeepEmpty is off
14886         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14887         to only handle newlines but not fiddle with spaces and friends.
14888
14889         * lyxfunc.C (MenuNew): when doing 'new from template', use
14890         template_path as default directory
14891
14892 2001-06-23  The LyX Project  <Asger>
14893
14894         * Clean-up of header file includes all over
14895         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14896
14897 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14898
14899         * paragraph.h: renamed from lyxparagraph.h
14900
14901 2001-06-23  Asger  <lyx@violet.home.sad.it>
14902
14903         * Buffer.h: Removed Buffer::resize
14904         * BufferList.h: Removed BufferList::resize
14905         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14906         the document lazily when we change the width, or the font settings.
14907
14908 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14909
14910         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14911
14912 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14913
14914         * buffer.h: remove out of date comment
14915
14916 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14917
14918         * lyxscreen.h:
14919         * screen.C: fix "theoretical" GC leak
14920
14921 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14922
14923         * LaTeX.C (scanAuxFile):
14924         (deplog): remove trailing \r when reading stream (useful under
14925         win32)
14926
14927 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14928
14929         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14930         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14931         and BufferView::theLockingInset(Inset*), so should use them and not
14932         access bv_->text->the_locking_inset directly.
14933
14934         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14935
14936 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14937
14938         * Makefile.am:
14939         * tex-defs.h: remove old unused file
14940
14941 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14942
14943         * BufferView_pimpl.C: fix typo, remove minibuffer message
14944           when buffer has loaded
14945
14946 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14947
14948         * lyxfunc.C (Dispatch): use stringstream
14949         (MenuNew): use stringstream
14950         (Open): use stringstream
14951
14952         * importer.C (Import): use stringstream
14953
14954         * bufferview_funcs.C (CurrentState): use stringstream
14955
14956         * LaTeX.C (run): use stringstream
14957
14958         * BufferView_pimpl.C (savePosition): use stringstream
14959         (restorePosition): use stringstream
14960         (MenuInsertLyXFile): use stringstream
14961
14962 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14963
14964         * BufferView.C:
14965         * Bullet.C:
14966         * ColorHandler.C:
14967         * FontInfo.C:
14968         * FontLoader.C:
14969         * LColor.C:
14970         * LaTeXFeatures.C:
14971         * Painter.C:
14972         * gettext.C:
14973         * lyx_gui_misc.C:
14974         * lyxserver.C:
14975         * vspace.C: removed // -*- C++ -*- as first line.
14976
14977         * lyxfind.h:
14978         * version.h: added // -*- C++ -*- as first line.
14979
14980 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14981
14982         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14983
14984         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14985         of string
14986
14987 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14988
14989         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14990         of floats.
14991
14992 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14993
14994         * gettext.C: include LString.h even when --disable-nls is on.
14995
14996 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14997
14998         * converter.h (Get): changed argument type from int to
14999         FormatList::size_type to avoid unnecessary conversion.
15000
15001         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15002         before using it.
15003
15004 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15005
15006         * gettext.h: include LString.h even when --disable-nls is on.
15007
15008 2001-06-07  Juergen Vigna  <jug@sad.it>
15009
15010         * text.C (BreakAgain): subst spaces with tabs.
15011
15012         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15013         (resizeInsetsLyXText): set force on resizeLyXText.
15014
15015 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15016
15017         * gettext.h (gettext_init):
15018         (locale_init): use a real definition instead of a macro
15019
15020 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15021
15022         * Bufferview_pimpl.C:
15023         * LColor.h:
15024         * LColor.C: further lcolor tidies
15025
15026 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15027
15028         * BufferView_pimpl.C (updateScrollbar): simplify.
15029
15030         * BufferView2.C: don't include insets/insetinfo.h, change
15031         prototype for insertInset and call the Pimpl version. let
15032         updateInset call Pimpl version.
15033
15034         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15035         gotoInset to BufferView::Pimpl
15036
15037 2001-06-01  Juergen Vigna  <jug@sad.it>
15038
15039         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15040         inside a LockingInset (is the update needed at all?).
15041
15042 2001-05-31  Juergen Vigna  <jug@sad.it>
15043
15044         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15045         here not the old one otherwise how should we compare it afterwards
15046         if it's the same!
15047
15048 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15049
15050         * lyxfont.C:
15051         * tabular.C:
15052         * tabular-old.C:
15053         * FontInfo.C: bring C functions into global namespace when
15054         necessary
15055
15056 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15057
15058         * LString.h: make sure config.h has been loaded before LString.h.
15059
15060         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15061         (one for each char read by EatLine!).
15062
15063         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15064         variables.
15065
15066 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15067
15068         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15069         to the same as the par we break from
15070
15071 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15072
15073         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15074
15075         * MenuBackend.C (expand): also create menu entries for wide
15076         versions of the floats.
15077
15078         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15079
15080         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15081
15082         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15083         frontends/Makefile.am
15084
15085         * text2.C: adjust
15086         * text.C: adjust
15087
15088
15089         * tabular.C (getTokenValue): add std::
15090
15091         * tabular-old.C (getTokenValue): add std::
15092         (getTokenValue): ditto
15093         (getTokenValue): ditto
15094
15095         * screen.C (ToggleSelection): adjust
15096
15097         * lyxtext.h: put selection cursors inside a Selection struct.
15098
15099         * lyxfunc.C (moveCursorUpdate): adjust
15100
15101         * lyxfont.C (latexWriteStartChanges): add std::
15102
15103         * lyxfind.C: adjust
15104
15105         * font.h: delete with(char const *, LyXFont const &)
15106
15107         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15108
15109         * FontInfo.C (getFontname): add std::
15110
15111         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15112         (workAreaButtonPress): adjust
15113         (tripleClick): adjust
15114         (update): adjust
15115         (moveCursorUpdate): adjust
15116         (Dispatch): adjust
15117
15118         * BufferView2.C (gotoInset): adjust
15119
15120 2001-05-30  Juergen Vigna  <jug@sad.it>
15121
15122         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15123         to check pspell I add this as default as I now have new pspell
15124         libraries and they seem to use this.
15125
15126 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15127
15128         * text2.C (CutSelection): make the cursor valid before the call to
15129         ClearSelection.
15130
15131 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15132
15133         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15134         relied on 0 terminated strings and other horrors. Bug found due to
15135         the new assert in lyxstring!
15136
15137         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15138         KP_ keys.
15139
15140 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15141
15142         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15143         to latinkeys.bind.
15144
15145         * lyxfunc.C (processKeySym): change method of getting to the
15146         self-insert char.
15147
15148         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15149         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15150         * BufferView_pimpl.[Ch]: here as private methods.
15151
15152 2001-05-28  Juergen Vigna  <jug@sad.it>
15153
15154         * text.C (SetHeightOfRow): added the update() call again as it is
15155         needed to initialize inset dimensions!
15156
15157 2001-05-16  Juergen Vigna  <jug@sad.it>
15158
15159         * text2.C (SetCharFont): Add new function with BufferView * and
15160         bool toggleall parameters for setting insets internal fonts.
15161         (SetFont): Freeze the undo as we may change fonts in Insets and
15162         all this change should be inside only one Undo!
15163
15164         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15165         setting font's in insets as for them we have the SetFont function!
15166
15167 2001-05-15  Juergen Vigna  <jug@sad.it>
15168
15169         * text2.C (ClearSelection): to be sure we REALLY don't have any
15170         selection anymore!
15171
15172         * tabular.C (TeXCellPreamble): fixed the left border problem for
15173         multicolumn cells.
15174
15175 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15176
15177         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15178         dependancy file
15179
15180 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15181
15182         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15183         LFUN_BREAKPARAGRAPH.
15184
15185         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15186         help test to "internal only", similar for LFUN_INSERT_URL
15187
15188         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15189         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15190         auto_region_delete and deadkeys.
15191
15192 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15193
15194         * LColor.h:
15195         * LColor.C: remove some dead entries, tidy a little
15196
15197 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15198
15199         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15200         commented code.
15201         (Dispatch): implement LFUN_ESCAPE
15202
15203         * commandtags.h: add LFUN_ESCAPE
15204
15205         * LyXAction.C (init): add entry for LFUN_ESCAPE
15206
15207         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15208         Remove commented code.
15209         (insertNote): moved here
15210         (open_new_inset): moved here
15211
15212         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15213         BufferView_pimpl
15214
15215 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15216
15217         * kbmap.C (findbinding): clean it up and make it work correctly.
15218
15219         * lyx_main.C (init): do not pass argc and argv as parameters
15220
15221 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15222
15223         * buffer.C: fix path for OS/2 & Win32
15224
15225         * lyx_gui.C:
15226         * lyx_main:
15227         * lyx_main.C: Added os:: class.
15228
15229         * os2_defines.h: update
15230
15231 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15232
15233         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15234         better by trying again with reduced state.
15235
15236 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15237
15238         * lyxrc.C (read): print error about invalid key sequence only when
15239         debugging (because not all latinX keysyms are known to some X
15240         servers)
15241
15242         * kbsequence.C (getiso): add a few std:: qualifiers
15243         (getiso): comment out extra return statement.
15244
15245 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15246
15247         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15248         handling.
15249         (Dispatch): enhance the accent inset a bit. (not perfect)
15250
15251 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15252
15253         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15254
15255 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15256
15257         * bufferlist.C (emergencyWrite): fix assert() call
15258
15259 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15260
15261         * text.C (InsertChar): Added trivial patch to only send the "you
15262         can not do multiple spaces this way" message once during a
15263         session.
15264
15265 2001-05-08  Baruch Even  <baruch@lyx.org>
15266
15267         * Makefile.am: Changed order of libraries to get LyX to link properly
15268         with the gnome frontend.
15269
15270 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15271
15272         * LaTeXFeatures.h: add a std:: qualifier
15273
15274 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15275
15276         * paragraph.C (String): use stringstream
15277
15278 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15279
15280         * paragraph.C (writeFile): remove footflag arg
15281
15282         * buffer.C (makeLaTeXFile): use stringstream
15283         (latexParagraphs): remove footnot gurba
15284
15285         * LaTeXFeatures.C (getPackages): use stringstream
15286         (getMacros): likewise
15287         (getTClassPreamble): likewise
15288         (getFloatDefinitions): new method
15289
15290         * paragraph.C (writeFile): reindent
15291         (Erase): reindent
15292
15293         * WorkArea.h: revert the xpos + etc changes.
15294
15295         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15296
15297         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15298
15299         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15300         (pasteSelection): likewise
15301         * text2.C (CreateUndo): likewise
15302
15303 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15304
15305         * minibuffer.C (peek_event): temporarily reduce the functionality
15306         of the minibuffer (to allow args on lfuns)
15307
15308         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15309         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15310
15311         * buffer.C (readInset): add compability reading of old float
15312         lists, add reading of new style float list.
15313         (readInset): avoid reevaluation of inscmd.getCmdName()
15314         (getLists): reindent
15315
15316         * MenuBackend.C (MenuItem): implement parsing of
15317         md_floatlistinsert and md_floatinsert.
15318         (expand::LastFiles): move initalizaton of iterators out of loop,
15319         avoid reevaluation.
15320         (expand::Documents): introduce typdedef vector<string> Strings,
15321         and use it.
15322         (expand::ExportFormats): introduce typedef vector<Format const *>
15323         Formats, and use it.
15324         (expand): implement FloatListInsert and FloatInsert.
15325
15326         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15327         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15328         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15329
15330         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15331         handling.
15332         (Dispatch::LFUN_FLOAT_LIST): implement
15333
15334 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15335
15336         * LaTeX.C (run): Fix problem with --export code.
15337
15338 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15339
15340         * BufferView.[Ch] (workarea): removed.
15341         (getClipboard) new method; wrapper for workarea()->getClipboard()
15342
15343         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15344         bug.
15345
15346         * WorkArea.h (width, height, xpos, ypos): These methods all
15347         returned the dimensions of the work_area sub-area of WorkArea,
15348         resulting in a position error if the WorkArea were resized. Now
15349         return the dimensions of the entire WorkArea.
15350
15351         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15352
15353 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15354
15355         * LaTeX.C (deplog): correct the syntax of regex reg1
15356
15357 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15358
15359         * undo.C: remove !NEW_INSETS cruft
15360
15361 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15362
15363         * text2.C: remove !NEW_INSETS cruft
15364
15365         * text.C: remove !NEW_INSETS cruft
15366
15367         * tabular.C: remove !NEW_INSETS cruft
15368
15369         * spellchecker.C: remove !NEW_INSETS cruft
15370
15371         * lyxtext.h: remove !NEW_INSETS cruft
15372
15373         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15374
15375         * lyxfunc.C: remove !NEW_INSETS cruft
15376
15377         * lyxfind.C: remove !NEW_INSETS cruft
15378
15379         * lyx_cb.C: remove !NEW_INSETS cruft
15380
15381         * figureForm.C: remove  !NEW_INSETS cruft
15382
15383         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15384
15385         * buffer.[Ch]: remove !NEW_INSETS cruft
15386
15387         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15388
15389         * CutAndPaste.C: remove !NEW_INSETS cruft
15390
15391         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15392
15393         * BufferView2.C: remove !NEW_INSETS cruft
15394
15395         * BufferView.h: remove !NEW_INSETS cruft
15396
15397 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15398
15399         * Lsstream.h: include LString.h before the sstream headers to
15400         fix problem with gcc 2.95.3 and lyxstring
15401
15402 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15403
15404         * lyx_main.C: add using directives when needed for C functions
15405         declared in std:: namespace.
15406
15407 2001-04-27  Juergen Vigna  <jug@sad.it>
15408
15409         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15410         (SetHeightOfRow): comment out the update call should not be needed!
15411
15412 2001-04-13  Juergen Vigna  <jug@sad.it>
15413
15414         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15415         (LyXTabular): tried to minimize operator= operations (and realized
15416         hopfully Lars wish).
15417
15418 2001-04-27  Juergen Vigna  <jug@sad.it>
15419
15420         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15421
15422 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15423
15424         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15425
15426         * buffer.C (readInset): hack to make listof algorithm work
15427
15428         * BufferView_pimpl.C: hack to make listof algorithm work
15429
15430 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15431
15432         * LyXAction.C: removed all !NEW_INSETS cruft
15433         (init): moved lfun_item in method
15434
15435         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15436
15437 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15438
15439         * BufferView2.C (theLockingInset): white space.
15440
15441 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15442
15443         * minibuffer.C: include <iostream>
15444
15445         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15446
15447         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15448
15449         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15450
15451         * text.[Ch] (TransposeChars): new method
15452
15453 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15454
15455         * call message directly through LyXView instead of through LyXFunc
15456         * BufferView2.C: adjust
15457         * BufferView_pimpl.C: adjust
15458         * FontLoader.C: adjust
15459         * buffer.C: adjust
15460         * bufferview_funcs.C: adjust
15461         * converter.C: adjust
15462         * figureForm.C: adjust
15463         * importer.C: adjust
15464         * lyx_cb.C: adjust
15465         * lyx_gui_misc.C: adjust
15466         * lyxfunc.C: adjust
15467         * lyxvc.C: adjust
15468         * text2.C: adjust
15469         + more files in subdirs
15470
15471         * lyxparagraph.h (size): move up int file
15472         (GetLayout): ditto
15473
15474         * adjust all uses of Assert to lyx::Assert.
15475
15476         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15477         lyxfunctional in namespace lyx
15478         * layout.C (hasLayout): ditto
15479         (GetLayout): ditto
15480         (GetLayout): ditto
15481         (delete_layout): ditto
15482         (NumberOfClass): ditto
15483         * converter.C (GetFormat): ditto
15484         (GetNumber): ditto
15485         (Add): ditto
15486         (Delete): ditto
15487         (SetViewer): ditto
15488         * bufferlist.C (getFileNames): ditto
15489         (emergencyWriteAll): ditto
15490         (exists): ditto
15491         (getBuffer): ditto
15492         * MenuBackend.C (hasSubmenu): ditto
15493         (hasMenu): ditto
15494         (getMenu): ditto
15495         * BufferView_pimpl.C (getInsetByCode): ditto
15496
15497 2001-04-18  Juergen Vigna  <jug@sad.it>
15498
15499         * vspace.C (asLatexString): fixed the 100% problem.
15500
15501 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15502
15503         * lyxfunc.C (Dispatch):
15504         * minibuffer.C:
15505         * minibuffer.h: add a few std:: qualifiers
15506
15507 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15508
15509         * minibuffer.[Ch]: reimplement so that commands is initiated and
15510         run from lyxfunc, simplified som handling, and made the completion
15511         and history code for complete. wip.
15512
15513         * lyxfunc.C (processKeySym): call message
15514         (miniDispatch): new temporary method
15515         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15516         (LFUN_MESSAGE): implement
15517         (LFUN_MESSAGE_PUSH): implement
15518         (LFUN_MESSAGE_POP): implement
15519         (initMiniBuffer): the initial/defualt minibuffer message.
15520
15521         * lyxfont.[Ch]: inline some more getters
15522
15523         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15524
15525         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15526
15527         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15528         (AutoSave): use LFUN_MESSAGE
15529         (Reconfigure): ditto
15530
15531         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15532
15533         * figureForm.C: use LFUN_MESSAGE
15534
15535         * converter.C (runLaTeX): use LFUN_MESSAGE
15536
15537         * bufferview_funcs.C: use LFUN_MESSAGE
15538         (Melt): ditto
15539         (changeDepth): ditto
15540
15541         * bufferparams.h: use boost::
15542
15543         * bufferlist.h: inherit privately from noncopyable
15544
15545         * bufferlist.C (loadLyXFile): remove some commented code.
15546
15547         * buffer.C (runChktex): use LFUN_MESSAGE
15548
15549         * ShareContainer.h: inherit privately from noncopyable
15550
15551         * ParagraphParameters.[hC] (depth): inline it.
15552
15553         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15554         methods.
15555         (message): new method
15556         (messagePush): ditto
15557         (messagePop): ditto
15558         (show): init minibuffer
15559         (showState): direct call
15560
15561         * LaTeX.[Ch]: inherit privately from noncopyable
15562         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15563         instead of WriteStatus.
15564
15565         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15566
15567         * BufferView_pimpl.C (buffer): don't init minibuffer
15568         (workAreaButtonPress): use LFUN_MESSAGE
15569         (workAreaButtonRelease): ditto
15570         (savePosition): ditto
15571         (restorePosition): ditto
15572         (MenuInsertLyXFile): ditto
15573         (workAreaExpose): don't init minibuffer
15574         (update): remove commented code, simplify
15575
15576         * BufferView2.C (openStuff): use LFUN_MESSAGE
15577         (toggleFloat): ditto
15578         (menuUndo): ditto
15579         (menuRedo): ditto
15580         (copyEnvironment): ditto
15581         (pasteEnvironment): ditto
15582         (copy): ditto
15583         (cut): ditto
15584         (paste): ditto
15585         (gotoInset): ditto
15586         (updateInset): remove some commented code
15587
15588         * lastfiles.h: inherit privately from noncopyable
15589         * layout.h: ditto
15590         * lyx_gui.h: ditto
15591         * lyx_main.h: ditto
15592         * lyxlex.h: ditto
15593         * lyxlex_pimpl.h: ditto
15594
15595         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15596         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15597         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15598
15599         * LyXAction.h: inherit privately from noncopyable, add methods
15600         func_begin, func_end, returning iterators to the func map.
15601
15602         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15603         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15604         (func_begin): new method
15605         (func_end): new method
15606
15607         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15608         and not)
15609         (copySelection): ditto
15610         (pasteSelection): ditto
15611
15612         * BufferView.C: whitespace change
15613         * BufferView.h: inherit privately from noncopyable
15614
15615 2001-04-16  Allan Rae  <rae@lyx.org>
15616
15617         * tabular-old.C (l_getline):
15618         * spellchecker.C (sc_check_word):
15619         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15620         an unrecognised preprocessor directive.  So ensure they're wrapped.
15621
15622 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15623
15624         * src/exporter.C (Export): Give an error message when path to file
15625         contains spaces.
15626
15627 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15628
15629         * LaTeX.C (deplog): Always check that foundfile exists.
15630
15631 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15632
15633         * lyx_main.h:
15634         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15635
15636 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15637
15638         * tabular.[Ch] (getLabelList): implement new method
15639
15640         * minibuffer.h: comment ouf setTiimer
15641
15642         * minibuffer.C (ExecutingCB): constify res
15643         (peek_event): constify s
15644         (Set): constify ntext
15645         (Init): constify nicename
15646
15647         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15648
15649         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15650         (savePosition): use two params to Minibuffer::Set
15651         (restorePosition): ditto
15652
15653 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15654
15655         * lyx_main.C: include language.h
15656
15657         * Makefile.am (lyx_main.o): add language.h
15658
15659 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15660
15661         * exporter.C:
15662         * paragraph.C:
15663         * screen.C:
15664         * tabular.C:
15665         * CutAndPaste.C: include gettext.h
15666
15667         * lyxfont.h: remove old hack with ON and OFF.
15668
15669         * lyxparagraph.h:
15670         * lyxfont.h: do not include language.h...
15671
15672         * BufferView2.C:
15673         * LaTeXFeatures.C:
15674         * Painter.C:
15675         * bufferview_funcs.C:
15676         * font.C:
15677         * lyxfont.C:
15678         * text.C:
15679         * text2.C:
15680         * trans_mgr.C:
15681         * paragraph.C: ... but do it here instead
15682
15683 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15684
15685         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15686
15687         * tabular.C: small reformat
15688
15689         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15690         NEW_INSETS version
15691         (GetChar): ditto
15692         (BreakParagraph): ditto
15693         (SetOnlyLayout): ditto
15694         (SetLayout): ditto
15695
15696         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15697         with one arg less.
15698
15699         * lastfiles.C: removed most using decl, add std:: where needed
15700
15701         * buffer.C: ws changes
15702
15703         * MenuBackend.C (class compare_format): put into anon namespace
15704         (expand): constify label, names, action, action2
15705         (expand):
15706
15707         * text.C (SingleWidth): constify font
15708         (IsBoundary): constify rtl2
15709         (GetVisibleRow): constify ww
15710
15711         * LaTeX.C (deplog): constify logfile
15712
15713         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15714         start_x, end_x
15715         (workAreaExpose): constify widthChange, heightChange
15716
15717         * lyxrow.C (par): moved
15718         (height): moved
15719         (next): moved
15720         * lyxrow.h: as inlines here
15721
15722         * lyxfont.h (shape): moved from lyxfont.C
15723         (emph): moved from lyxfont.C
15724
15725         * lyxfont.C (LyXFont): use initialization list for all
15726         constructors
15727         (shape): move to lyxfont.h as inline
15728         (emph): move to lyxfont.h as inline
15729
15730
15731 2001-04-04  Juergen Vigna  <jug@sad.it>
15732
15733         * vspace.C: had to include stdio.h for use of sscanf
15734
15735 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15736
15737         * BufferView.h:
15738         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15739         independent of xforms.
15740
15741 2001-04-02  Juergen Vigna  <jug@sad.it>
15742
15743         * spellchecker.C: fixed namespace placing!
15744
15745 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15746
15747         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15748         the LyXParagraph * is 0.
15749
15750 2001-03-29  Juergen Vigna  <jug@sad.it>
15751
15752         * vspace.C: added support for %, c%, p%, l%.
15753         (stringFromUnit): added helper function.
15754         (asLatexString): changed to give right results for the %-values.
15755
15756         * buffer.C: convert the widthp in a width%.
15757
15758 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15759
15760         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15761         figureForm.[Ch].
15762
15763         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15764         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15765
15766         * lyx_cb.[Ch]: see above.
15767
15768         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15769         form1.[Ch].
15770
15771         * form1.[Ch]:
15772         * lyx.[Ch]: replaced by figure_form.[Ch].
15773
15774         * lyx_gui.C:
15775         * lyx_gui_misc.C:
15776         * lyxfunc.C: changed headers associated with above changes.
15777
15778 2001-03-27  Juergen Vigna  <jug@sad.it>
15779
15780         * BufferView_pimpl.C: set the temporary cursor right!
15781
15782 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15783
15784         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15785
15786 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15787
15788         * LString.h: removed "using std::getline"!
15789
15790         * BufferView_pimpl.C (Dispatch): changes due to changes in
15791         InsetInclude::Params.
15792
15793         * buffer.C (tag_name): removed redundant break statements as they were
15794         producing lots of warnings with my compiler.
15795
15796 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15797
15798         * LString.h: add "using std::getline" when using the real <string>.
15799
15800 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15801
15802         * buffer.C: removed bitset usage.
15803         PAR_TAG moved to an anonymous name space.
15804         (tag_name): new funtion, also in the anonymous namespace.
15805         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15806         (makeDocBookFile): clean code. Completed transition from string arrays
15807         to string vectors.
15808         (SimpleDocBookOnePar): code clean.
15809
15810 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15811
15812         * tabular.C: add some comments.
15813
15814 2001-03-22  Juergen Vigna  <jug@sad.it>
15815
15816         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15817         compatibility read a bit and fixed bug with minipage in different
15818         depth.
15819
15820 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15821
15822         * buffer.C (pop_tag): removed.
15823         (push_tag): removed.
15824         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15825         array replaced with vector. Added support for CDATA sections.
15826         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15827         at any nest level.
15828         (makeDocBookFile): XML conformant declaration of CDATA section,
15829         fixed bug related to <emphasis> in the first paragraph char.
15830         (sgmlOpenTag): exclude empty tags.
15831         (sgmlCloseTag): ditto.
15832
15833         * buffer.h (pop_tag): removed.
15834         (push_tag): removed.
15835
15836 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15837
15838         * language.h (Languages): added size_type and size().
15839
15840 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15841
15842         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15843         response on compability reading of minipages. One probliem is that
15844         the old usage of minipages was «flertydig»
15845
15846         * several files here and in subdirs: don't use static at file
15847         scope use anon namespaces instead.
15848
15849 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15850
15851         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15852         LaTeX output. This is necessary for Literate document
15853         processing.
15854
15855 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15856
15857         * buffer.C: insert hfill when needed.
15858
15859         * tabular.C (l_getline): use string::erase, small whitespace change.
15860
15861         * BufferView_pimpl.C: try the anon namespace.
15862         * WorkArea.C: ditto
15863
15864 2001-03-16  Juergen Vigna  <jug@sad.it>
15865
15866         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15867         otherwise it won't open options-dialogs.
15868
15869         * buffer.C: honor pextraWidth(p) on converting minipages.
15870
15871         * tabular.C (l_getline): changed the functions to strip trailing \r.
15872
15873 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15874
15875         * BufferView_pimpl.C:
15876         * minibuffer..C: added "using SigC::slot" declaration.
15877
15878 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15879
15880         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15881
15882         * text2.C: ditto
15883
15884         * text.C: ditto
15885
15886         * paragraph.C: ditto
15887
15888         * lyxtext.h: NO_PEXTRA
15889
15890         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15891
15892         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15893         * ParameterStruct.h: ditto
15894         * ParagraphParameters.h: ditto
15895         * lyxparagraph.h: ditto
15896
15897 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15898
15899         * buffer.C: add compability for minipage alignment.
15900         (latexParagraphs): remove unwanted pextra check.
15901
15902         * several files: remove CXX_WORKING_NAMESPACES
15903
15904         * buffer.C (pop_tag): tie is in namespace boost
15905
15906         * BufferView.h: noncopyable is in namespace boost
15907         * lyxlex.h: ditto
15908         * lyx_main.h: ditto
15909         * lyx_gui.h: ditto
15910         * layout.h: ditto
15911         * lastfiles.h: ditto
15912         * bufferlist.h: ditto
15913         * ShareContainer.h: ditto
15914         * LyXView.h: ditto
15915         * LyXAction.h: ditto
15916         * LaTeX.h: ditto
15917
15918 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15919
15920         * Merging changes from BRANCH_MVC back into HEAD.
15921
15922         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15923
15924 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15925
15926         * BufferView_pimpl.C: change from intl.C
15927
15928         * combox.h:
15929         * combox.C:
15930         * Makefile.am: move combox.*
15931
15932         * form1.h:
15933         * form1.C:
15934         * lyx_gui.C:
15935         * intl.h:
15936         * intl.C: remove dialog (covered by prefs)
15937
15938 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15939
15940         * lyxfunc.C (Dispatch): removed redundant break statement.
15941
15942 2001-03-14  Juergen Vigna  <jug@sad.it>
15943
15944         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15945
15946 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15947
15948         * buffer.C: add hack to fix compability reading of minipages.
15949
15950 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15951
15952         * buffer.C (getLists): Cleanup.
15953
15954 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15955
15956         * lyxfont.C (update): don't honor toggleall on font size.
15957
15958 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15959
15960         * bmtable.c:
15961         * bmtable.h:
15962         * Makefile.am: moved to frontends/xforms/
15963
15964         * lyx_gui_misc.C:
15965         * lyxfunc.C:
15966         * BufferView_pimpl.C: changes for moved mathpanel
15967
15968 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15969
15970         * gettext.h: fix gettext_init() in --disable-nls
15971
15972 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15973
15974         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15975
15976 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15977
15978         * lyx.C:
15979         * lyx.h: strip external form
15980
15981 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15982
15983         * BufferView_pimpl.C: add comment, destroySplash()
15984
15985 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15986
15987         * BufferView_pimpl.C:
15988         * LyXAction.C:
15989         * buffer.C:
15990         * commandtags.h:
15991         * lyxfunc.C: use re-worked insetinclude
15992
15993 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15994
15995         * buffer.C: add using std::stringstream.
15996
15997         * lyx_cb.C: readd using std::ios.
15998
15999         * buffer.C: add using std::map.
16000
16001         * BufferView_pimpl.C: add using std::vector.
16002
16003         * ShareContainer.h: add std:: to swap.
16004
16005         * buffer.h: add some typedefs
16006         * buffer.C (getLists): use them
16007         (getLists): renamed from getTocList.
16008         add a counter for the different float types and use it in the
16009         generated string.
16010         (getLists): use the same counter for the NEW_INSETS and the "non"
16011         NEW_INSETS
16012
16013         * lyx_cb.h: remove unused items, includes, using etc.
16014
16015         * ShareContainer.h: remove some commented code, add more comments
16016         and "documentation".
16017
16018 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16019
16020         * buffer.C (getTocList): make the list also when NEW_INSETS is
16021         defined.
16022
16023         * buffer.h: remove TocType
16024
16025         * buffer.C (getTocList): change to return a map<string,
16026         vector<TocItem> >, implement for dynamic number of list.
16027
16028         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16029         * text2.C (PasteSelection): adjust
16030         * CutAndPaste.C (pasteSelection): adjust
16031
16032         * FloatList.C (FloatList): update from the new_insets branch.
16033         * Floating.[Ch]: ditto
16034         * LaTeXFeatures.C: ditto
16035         * buffer.C: ditto
16036         * lyxlex_pimpl.C: ditto
16037
16038         * paragraph.C (Last): remove when NEW_INSETS is defined.
16039
16040         * other file: changes because of the above.
16041
16042 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16043
16044         * lyxparagraph.h: rename next to next_, previous to previous_,
16045         make them private for NEW_INSETS. Rename Next() to next(),
16046         Previous() to previous().
16047
16048         * other files: changes because of the above.
16049
16050 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16051
16052         * BufferView.h:
16053         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16054         problem.
16055
16056 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16057
16058         * main.C (main): pass lyx_localedir to gettext_init().
16059
16060         * gettext.h: remove locale_init and gettext_init macros
16061
16062         * gettext.C (locale_init): new function
16063         (gettext_init): new function
16064
16065         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16066         setlocale().
16067
16068 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16069
16070         * Moved credits to frontends:
16071         * credits.[Ch]: removed
16072         * credits_form.[Ch]: removed
16073         * lyx_gui_misc.C: remove credits stuff
16074         * Makefile.am:
16075
16076 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16077
16078         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16079
16080         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16081         unneeded destructor.
16082
16083         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16084         a standalone pointer again.
16085
16086         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16087
16088 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16089
16090         * Makefile.am:
16091         * filedlg.h:
16092         * filedlg.C:
16093         * LyXAction.C:
16094         * ToolbarDefaults.C:
16095         * bufferlist.C:
16096         * commandtags.h:
16097         * form1.C:
16098         * form1.h:
16099         * lyx_cb.C:
16100         * lyx_cb.h:
16101         * lyxfunc.h:
16102         * lyxfunc.C:
16103         * BufferView_pimpl.C: use new file dialog in GUII
16104
16105         * lyx_cb.h:
16106         * lyx_cb.C: remove LayoutsCB to Toolbar
16107
16108 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16109
16110         * ShareContainer.h (get): add std:: qualifier
16111
16112 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16113
16114         * ShareContainer.h: define a proper ShareContainer::value_type
16115         type (and use typename to please compaq cxx)
16116
16117 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16118
16119         * lyxparagraph.h: move serveral local vars to
16120         ParameterStruct/ParagraphParameters., use ShareContainer in
16121         FontTable., make vars in FontTable private and add getter and
16122         setter.
16123
16124         * paragraph.C: changes because of the above.
16125
16126         * lyxfont.h: remove copy constructor and copy assignment. (the
16127         default ones is ok), move number inside FontBits. move inlines to
16128         lyxfont.C
16129
16130         * lyxfont.C: add number to initializaton of statics, move several
16131         inlines here. constify several local vars. some whitespace
16132         cleanup. Dont hide outerscope variables.
16133
16134         * Spacing.h: add two new constructors to match the set methods.
16135
16136         * ShareContainer.h: new file, will perhaps be moved to support
16137
16138         * ParameterStruct.h: new file
16139
16140         * ParagraphParameters.h: new file
16141
16142         * ParagraphParameters.C: new file
16143
16144         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16145         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16146
16147         * BufferView_pimpl.C: ParagraphParameter changes.
16148         * buffer.C: Likewise.
16149         * bufferview_funcs.C: Likewise.
16150         * text.C: Likewise.
16151         * text2.C: Likewise.
16152
16153 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16154
16155         * lyxfind.C (LyXReplace): do not redefine default argument in
16156         implementation.
16157         (IsStringInText): ditto
16158         (SearchForward): ditto
16159         (SearchBackward): ditto
16160
16161 2001-03-06  Juergen Vigna  <jug@sad.it>
16162
16163         * lyxfind.C (IsStringInText): put parentes around expressions.
16164
16165 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16166
16167         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16168
16169 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16170
16171         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16172
16173         * stl_string_fwd.h: add comment
16174
16175         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16176
16177         * tabular.h:
16178         * tabular.C: remove unused DocBook methods
16179
16180         * intl.C:
16181         * language.C:
16182         * paragraph.C:
16183         * buffer.C:
16184         killed DO_USE_DEFAULT_LANGUAGE
16185
16186 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16187
16188         * lyx_gui.C: do not include language.h.
16189
16190         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16191         arguments in function implementation.
16192
16193 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16194
16195         * BufferView_pimpl.C: add <ctime>
16196
16197 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16198
16199         * BufferView_pimpl.C: add using std::find_if
16200
16201 2001-02-27  José Matos  <jamatos@fep.up.pt>
16202
16203         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16204         by OnlyPath.
16205
16206 2001-02-11  José Matos  <jamatos@fep.up.pt>
16207
16208         * buffer.C (makeDocBookFile): command styles now have a parameter as
16209         "title" by default.
16210
16211 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16212
16213         * layout_forms.[Ch]: removed
16214         * lyx_cb.[Ch]: out character
16215         * lyx_gui.C: out character
16216         * lyx_gui_misc.C: out character
16217         * bufferview_funcs.C: : out character,
16218         added toggleall as parameter in ToggleAndShow
16219
16220 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16221
16222         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16223
16224         * text2.C (SetCurrentFont): Disable number property at boundary.
16225
16226 2001-02-26  Juergen Vigna  <jug@sad.it>
16227
16228         * lyxfunc.C (getStatus): added a string argument override function so
16229         that this is correctly called from LyXFunc::Dispatch if it contains a
16230         do_not_use_argument which is used!
16231         (Dispatch): added check for "custom" export and call appropriate func.
16232
16233 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16234
16235         * lyxrc.C: Add language_command_local, language_use_babel and
16236         language_global_options.
16237
16238         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16239
16240         * buffer.C (makeLaTeXFile): Use language_use_babel and
16241         language_global_options.
16242
16243 2001-02-23  Juergen Vigna  <jug@sad.it>
16244
16245         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16246         which works with LyXText and putted it inside BufferView. Here now we
16247         only call for that part the BufferView::Dispatch() function.
16248
16249         * BufferView.C (Dispatch): added.
16250
16251         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16252         functions which needs to use a LyXText over from LyXFunc.
16253         (MenuInsertLyXFile): added
16254         (getInsetByCode): added
16255         (moveCursorUpdate): added
16256         (static TEXT): added
16257
16258 2001-02-22  Juergen Vigna  <jug@sad.it>
16259
16260         * BufferView_pimpl.C (update): call a status update to see if LyXText
16261         needs it.
16262
16263 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16264
16265         * vc-backend.C (revert): implement for CVS
16266         (getLog): implement for CVS
16267
16268 2001-02-20  Juergen Vigna  <jug@sad.it>
16269
16270         * text2.C (ClearSelection): added BufferView param for inset_owner call
16271
16272         * lyxfunc.C (TEXT): added this function and use it instead of
16273         directly owner->view()-text of getLyXText().
16274
16275 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16276
16277         * src/layout_forms.C: out preamble
16278         * src/layout_forms.h: out preamble
16279         * src/lyx_cb.C: out preamble
16280         * src/lyx_cb.h: out preamble
16281         * src/lyx_gui.C: out preamble
16282         * src/lyx_gui_misc.C: out preamble
16283         * src/lyxfunc.C: connect with guii preamble
16284
16285 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16286
16287         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16288
16289 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16290
16291         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16292         whether to run bibtex.
16293
16294 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16295
16296         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16297
16298 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16299
16300         * Makefile.am (lyx_SOURCES): removed bibforms.h
16301
16302         * vspace.h: doxygen
16303
16304         * text.C (GetVisibleRow): make several local vars const
16305
16306         * tabular.C: small cleanup.
16307
16308         * lyxserver.C (callback): use compare instead of strncmp
16309
16310         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16311         inlines to after class or to paragraph.C
16312
16313         * lyxfont.h: remove friend operator!=
16314
16315         * converter.h: move friend bool operator< to non friend and after
16316         class def.
16317
16318         * combox.h: small cleanup
16319
16320         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16321         to inlines after class def.
16322
16323         * buffer.C (pop_tag): use string operations instead of strcmp
16324
16325         * bmtable.c: doxygen, small cleanup
16326
16327         * LaTeX.h: remove friend operator==
16328
16329 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16330
16331         * screen.C:
16332         * lyxrc.[Ch]:
16333         * lyxfunc.C:
16334         * lyxfont.[Ch]:
16335         * lyx_cb.C:
16336         * intl.[Ch]:
16337         * commandtags.h:
16338         * buffer.C:
16339         * WorkArea.[Ch]:
16340         * LyXAction.C:
16341         * BufferView_pimpl.C:
16342         * BufferView.[Ch]: remove cruft
16343
16344 2001-02-14  Juergen Vigna  <jug@sad.it>
16345
16346         * lyxfunc.C: removed #if 0 unused code
16347
16348         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16349
16350         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16351
16352         * text2.C (SetSelection): added a BufferView * parameter
16353
16354 2001-02-13  Juergen Vigna  <jug@sad.it>
16355
16356         * lyxfunc.C (Dispatch): fixed protected blank problem.
16357         * BufferView2.C (protectedBlank): added LyxText * parameter.
16358
16359         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16360         (AppendColumn): same as above for column_info.
16361
16362         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16363         (moveCursorUpdate): use a LyXText param for support of InsetText.
16364
16365         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16366         (tripleClick): ditto
16367
16368         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16369
16370         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16371
16372         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16373
16374         * text2.C (SetSelection): set correct update status if inset_owner
16375         (ToggleFree): ditto
16376
16377 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16378
16379         * tabular.C: remove some commented code.
16380
16381 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16382
16383         * BufferView_pimpl.C: call hideSplash()
16384
16385         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16386
16387         * include_form.h:
16388         * bibforms.h: remove
16389
16390         * lyxfunc.C:
16391         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16392           add LFUN_CHILD_CREATE
16393
16394         * counters.h: fix tiny typo
16395
16396         * lyx_cb.C:
16397         * lyx.h:
16398         * lyx_gui.C:
16399         * lyx.C: move splash to frontends/xforms/
16400
16401         * lyx_gui_misc.C: move Include and Bibform to frontends
16402
16403         * lyxvc.h: clarify comment
16404
16405         * vspace.C: tiny housekeeping
16406
16407 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16408
16409         * text.C (PrepareToPrint): RTL Fix.
16410
16411         * paragraph.C (GetUChar): New method.
16412         (String):  Use GetUChar.
16413
16414         * buffer.C (asciiParagraph): Use GetUChar.
16415
16416 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16417
16418         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16419
16420 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16421
16422         * buffer.h:
16423         * buffer.C: rename to getLogName(), handle
16424           build log / latex log nicely
16425
16426 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16427
16428         * MenuBackend.C:
16429         * MenuBackend.h: remove support for reference menuitem type.
16430
16431 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16432
16433         * BufferView_pimpl.C: housekeeping
16434         * BufferView_pimpl.h:
16435         * LyXView.h:
16436         * Makefile.am:
16437         * Timeout.C:
16438         * Timeout.h:
16439         * minibuffer.h: move Timeout GUI-I
16440
16441 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16442
16443         * lyxrc.C (read): Update converters data-structures.
16444
16445 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16446
16447         * LaTeX.h (operator!=): add operator != for Aux_Info
16448
16449 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16450
16451         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16452
16453         * LaTeXLog.C: deleted, useful code moved to Buffer
16454
16455         * buffer.h:
16456         * buffer.C: new function getLatexLogName()
16457
16458         * lyx_gui_misc.C:
16459         * lyx_gui.C:
16460         * lyxvc.C:
16461         * lyxvc.h:
16462         * lyxfunc.C: use frontends for LaTeX and VC logs
16463
16464 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16465
16466         * LaTeX.h: yet another std:: that Allan forgot.
16467
16468         * Variables.C (set): renamed from isset(), because this clashes
16469         with some HP-UX macros (grr).
16470
16471 2001-02-06  Allan Rae  <rae@lyx.org>
16472
16473         * LaTeX.h: Another bug fix.  Missing std:: this time.
16474
16475 2001-02-04  Allan Rae  <rae@lyx.org>
16476
16477         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16478         floats problem. I've left it commented out because it's not quite
16479         correct.  It should also test that the current object is a table or
16480         figure inset.  But I haven't gotten around to figuring out how to do
16481         that.  I *think* it'll be something like: "table" == inset.type()
16482
16483         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16484         bool.
16485
16486 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16487
16488         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16489         all the citation/databases/styles in the auxilary file.
16490         (run): Rerun latex if there was a babel language error.
16491
16492 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16493
16494         * text.C (Backspace): Preserve the font when changing newline char
16495         with a space.
16496         (BreakParagraph): If the cursor is before a space, delete the space.
16497
16498         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16499
16500 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16501
16502         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16503         new argument (code).
16504         (ChangeCitationsIfUnique): New method.
16505
16506         * paragraph.C (GetPositionOfInset): Handle bibkey.
16507
16508 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16509
16510         * BufferView_pimpl.h: change type of Position::par_pos to
16511         LyXParagraph::size_type.
16512
16513 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16514
16515         * BufferView_pimpl.C (savePosition, restorePosition): Write
16516         messages to minibuffer.
16517
16518 2001-01-28  José Matos  <jamatos@fep.up.pt>
16519
16520         * buffer.C (makeDocBookFile): adds support for document language.
16521         A silly restriction on the name of LatexCommand types where removed.
16522         Added support for CDATA sections, allows to chars unescaped, used
16523         among others in code, to avoid escape < and >.
16524
16525 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16526
16527         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16528         saved positions instrad of a stack. Furthermore, a position is
16529         stored using paragraph id/paragraph position.
16530
16531         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16532         Remove LFUN_REF_BACK.
16533
16534 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16535
16536         * converter.C (dvipdfm_options): New method.
16537
16538 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16539
16540         * vspace.C (isValidLength): Fix for empty input string.
16541
16542 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16543
16544         * LyXAction.C (init): change description of LFUN_FIGURE to
16545         "Insert Graphics"
16546
16547 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16548
16549         * LaTeX.C: add using directive
16550
16551 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16552
16553         * MenuBackend.C (expand): Fix the sorting of the formats.
16554
16555 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16556
16557         * lyx_main.C: tiny error message fix
16558
16559 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16560
16561         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16562         calling fl_initialize(). This fixes the problem with ',' as
16563         decimal separator in text files.
16564
16565 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16566
16567         * trans.C (process): Fix the keymap bug.
16568
16569 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16570
16571         * LaTeX.C (scanAuxFiles): New method. Provides support for
16572         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16573         (scanLogFile) Scan for "run BibTeX" messages.
16574
16575         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16576         OT1 font encoding. Also, load the aecompl package if the ae
16577         package is loaded.
16578
16579         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16580
16581 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16582
16583         * texrow.C (increasePos): turn two error messages into debug
16584         messages.
16585
16586 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16587
16588         * LaTeX.C (scanAux): Handle the \@input macro.
16589         (runBibTeX): Use scanAux().
16590
16591         * language.C (latex_options_): New field.
16592
16593         * LaTeXFeatures.C (getMacros): Add language macros.
16594
16595         * buffer.C (makeLaTeXFile): Small fix.
16596
16597 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16598
16599         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16600
16601         * text2.C: add a using directive.
16602
16603 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16604
16605         * BufferView2.C:
16606         * lyx_gui_misc.h:
16607         * lyxfr1.C:
16608         * lyxfunc.C: kill LyXBell.
16609
16610 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16611
16612         * text.C (IsBoundary): Remove the error message
16613
16614         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16615
16616         * lyxrc.C (setDefaults): Correct initialization value for
16617         font_norm_type.
16618
16619 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16620
16621         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16622         gotoError().
16623
16624         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16625         and GotoNextNote().
16626
16627         * src/LyXAction.C: Added reference-next.
16628
16629         * text.C (InsertChar): Use contains instead of strchr.
16630
16631         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16632
16633 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16634
16635         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16636         alignment commands (when needed).
16637
16638         * text.C (InsertChar): Add ':' to number separator chars.